Skip to content

Commit

Permalink
Rollup merge of rust-lang#101012 - notriddle:notriddle/variants_table…
Browse files Browse the repository at this point in the history
…, 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.
  • Loading branch information
GuillaumeGomez authored Aug 26, 2022
2 parents 7cffb4c + 8c65478 commit 6ada6c5
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 @@ -1200,14 +1200,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 6ada6c5

Please sign in to comment.