Skip to content

Commit

Permalink
rustdoc: remove unused CSS for .variants_table
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
notriddle committed Aug 25, 2022
1 parent 4d45b07 commit 8c65478
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -1210,14 +1210,6 @@ so that we can apply CSS-filters to change the arrow color in themes */
float: right;
}

.variants_table {
width: 100%;
}

.variants_table tbody tr td:first-child {
width: 1%; /* make the variant name as small as possible */
}

td.summary-column {
width: 100%;
}
Expand Down

0 comments on commit 8c65478

Please sign in to comment.