-
Notifications
You must be signed in to change notification settings - Fork 13.5k
rustdoc: remove redundant CSS #source-sidebar, #sidebar-toggle
#101748
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
rustdoc: remove redundant CSS #source-sidebar, #sidebar-toggle
#101748
Conversation
Some changes occurred in HTML/CSS/JS. cc @GuillaumeGomez, @Folyd, @jsha |
r? @CraftSpider (rust-highfive has picked a reviewer for you, use r? to override) |
Thanks! @bors r+ rollup |
This is used in at least one place on docs.rs, not sure if there will be any styling issues without it |
It shouldn't be impacted. On docs.rs it's needed because of the docs.rs top navbar. |
Ah, I should have looked at the diff, I thought it was removing the id from the html too 😅 |
…-sidebar-toggle, r=GuillaumeGomez rustdoc: remove redundant CSS `#source-sidebar, #sidebar-toggle` These two elements are always nested below `<nav class="sidebar">`, and will inherit the font from their parent. These selectors were added in 93520d2, and became redundant in 07e3f99 when the source sidebar elements became nested below `nav.sidebar`.
Rollup of 5 pull requests Successful merges: - rust-lang#101602 (Streamline `AttrAnnotatedTokenStream`) - rust-lang#101690 (Avoid `Iterator::last`) - rust-lang#101700 (A `SubstitutionPart` is not considered a deletion if it replaces nothing with nothing) - rust-lang#101745 (Fix typo in concat_bytes documentation) - rust-lang#101748 (rustdoc: remove redundant CSS `#source-sidebar, #sidebar-toggle`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
These two elements are always nested below
<nav class="sidebar">
, and will inherit the font from their parent.These selectors were added in 93520d2, and became redundant in 07e3f99 when the source sidebar elements became nested below
nav.sidebar
.