Skip to content

Commit fbae06e

Browse files
authored
Rollup merge of #101507 - notriddle:notriddle/main-content-table-td, 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.
2 parents 46fe72b + 43681db commit fbae06e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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

-5
Original file line numberDiff line numberDiff line change
@@ -2035,11 +2035,6 @@ in storage.js plus the media query with (min-width: 701px)
20352035
height: 73px;
20362036
}
20372037

2038-
#main-content > table td {
2039-
word-break: break-word;
2040-
width: 50%;
2041-
}
2042-
20432038
#crate-search {
20442039
border-radius: 4px;
20452040
}

0 commit comments

Comments
 (0)