diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-10-12 11:11:27 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-12 11:11:27 +0530 |
| commit | 96bcced390ee149436bab890b70821ff34912b53 (patch) | |
| tree | 37c68d245725cb6c35950d1c39f421ec1dab5d19 /compiler/rustc_codegen_llvm/src/lib.rs | |
| parent | 252ce10bb0ad912d56e1fff319d2ea08ec44f118 (diff) | |
| parent | 062284af6e2a5066e86562a9743c16dd7338d790 (diff) | |
| download | rust-96bcced390ee149436bab890b70821ff34912b53.tar.gz rust-96bcced390ee149436bab890b70821ff34912b53.zip | |
Rollup merge of #102924 - notriddle:notriddle/sidebar-link-class, r=GuillaumeGomez
rustdoc: remove unused classes from sidebar links Since https://github.com/rust-lang/rust/commit/98f05a0282625a5fda6e90ebf3b05a4bd7608f65 removed separate colors from the currently-selected item, there's no need to have item classes on sidebar links. Preview: https://notriddle.com/notriddle-rustdoc-demos/sidebar-link-class/std/vec/struct.Vec.html While cleaning up the CSS to remove unneeded `.content` selectors, this PR changes the `h1.fqn a` CSS selector to just be `h1 a`, so that the header link color selector is less specific than the typed link at the end. Since https://github.com/rust-lang/rust/pull/89506 made docblocks start at `h2`, the main page link header should be the only h1 in the page now.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
0 files changed, 0 insertions, 0 deletions
