Skip to content

Commit 43681db

Browse files
committed
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.
1 parent 78a891d commit 43681db

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
@@ -2047,11 +2047,6 @@ in storage.js plus the media query with (min-width: 701px)
20472047
height: 73px;
20482048
}
20492049

2050-
#main-content > table td {
2051-
word-break: break-word;
2052-
width: 50%;
2053-
}
2054-
20552050
#crate-search {
20562051
border-radius: 4px;
20572052
}

0 commit comments

Comments
 (0)