Skip to content

Commit 6a0c095

Browse files
Javadoc: update and remove broken CSS stylesheet customizations
1 parent 0b903b6 commit 6a0c095

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

objectbox-java/build.gradle.kts

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -124,17 +124,8 @@ val javadocForWeb by tasks.registering(Javadoc::class) {
124124
.replace("#bb7a2a", "#E61955") // Hover
125125
stylesheetFile.writeText(replacedContent)
126126
// Note: in CSS stylesheets the last added rule wins, so append to default stylesheet.
127-
// Code blocks
128-
stylesheetFile.appendText("pre {\nwhite-space: normal;\noverflow-x: auto;\n}\n")
129-
// Member summary tables
130-
stylesheetFile.appendText(".memberSummary {\noverflow: auto;\n}\n")
131-
// Descriptions and signatures
132-
stylesheetFile.appendText(".block {\n" +
133-
" display:block;\n" +
134-
" margin:3px 10px 2px 0px;\n" +
135-
" color:#474747;\n" +
136-
" overflow:auto;\n" +
137-
"}")
127+
// Make code blocks scroll instead of stick out on small width
128+
stylesheetFile.appendText("pre {\n overflow-x: auto;\n}\n")
138129

139130
println("Javadoc for web created at $destinationDir")
140131
}

0 commit comments

Comments
 (0)