File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff 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 {\n white-space: normal;\n overflow-x: auto;\n }\n " )
129- // Member summary tables
130- stylesheetFile.appendText(" .memberSummary {\n overflow: 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 }
You can’t perform that action at this time.
0 commit comments