Skip to content

Commit dc4fb6b

Browse files
authored
Rollup merge of #102319 - notriddle:notriddle/td-th, r=GuillaumeGomez
rustdoc: merge CSS `table` rules into `.docblock` This was added in 5101078, to fix the display of the module items and search results tables (see the discussion in #86725). Those aren't tables any more. The only remaining table is in docblock, which has its own padding declarations.
2 parents 2668a68 + 9990444 commit dc4fb6b

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/librustdoc/html/static/css/rustdoc.css

+1-9
Original file line numberDiff line numberDiff line change
@@ -299,15 +299,6 @@ summary {
299299

300300
/* Fix some style changes due to normalize.css 8 */
301301

302-
td,
303-
th {
304-
padding: 0;
305-
}
306-
307-
table {
308-
border-collapse: collapse;
309-
}
310-
311302
button,
312303
input,
313304
optgroup,
@@ -695,6 +686,7 @@ pre, .rustdoc.source .example-wrap {
695686
width: calc(100% - 2px);
696687
overflow-x: auto;
697688
display: block;
689+
border-collapse: collapse;
698690
}
699691

700692
.docblock table td {

0 commit comments

Comments
 (0)