Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Sep 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
notriddle committed Sep 7, 2022
commit 43681db48df8ada9e213e7e6512f2dc1f5774e97
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 @@ -2047,11 +2047,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