Skip to content

Commit f536cce

Browse files
authored
Rollup merge of rust-lang#101012 - notriddle:notriddle/variants_table, r=jsha
rustdoc: remove unused CSS for `.variants_table` Continuation of rust-lang#100938 and rust-lang#101010. This rule was added to support the old, table-based style for displaying enum variants, which are now displayed using headers and paragraphs.
2 parents 798732f + 8c65478 commit f536cce

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

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

-8
Original file line numberDiff line numberDiff line change
@@ -1200,14 +1200,6 @@ so that we can apply CSS-filters to change the arrow color in themes */
12001200
float: right;
12011201
}
12021202

1203-
.variants_table {
1204-
width: 100%;
1205-
}
1206-
1207-
.variants_table tbody tr td:first-child {
1208-
width: 1%; /* make the variant name as small as possible */
1209-
}
1210-
12111203
td.summary-column {
12121204
width: 100%;
12131205
}

0 commit comments

Comments
 (0)