Skip to content

Commit

Permalink
Rollup merge of #101507 - notriddle:notriddle/main-content-table-td, …
Browse files Browse the repository at this point in the history
…r=GuillaumeGomez

rustdoc: remove unused CSS `#main-content > table td`

This rule was added in 4e2c59a to benefit the module items table. However, the module items table stopped using table tags when 6020c79 switched us over to grid layout.

You can see when this one used to be triggered by visiting <https://doc.rust-lang.org/1.54.0/alloc/slice/index.html#structs-1> in a very narrow window, but it doesn't any more, because the module table is now rendered using `<div>` tags.
  • Loading branch information
matthiaskrgr authored Sep 7, 2022
2 parents 46fe72b + 43681db commit fbae06e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -2035,11 +2035,6 @@ in storage.js plus the media query with (min-width: 701px)
height: 73px;
}

#main-content > table td {
word-break: break-word;
width: 50%;
}

#crate-search {
border-radius: 4px;
}
Expand Down

0 comments on commit fbae06e

Please sign in to comment.