mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
Rollup merge of #102747 - notriddle:notriddle/docblock-a-not-srclink, r=GuillaumeGomez
rustdoc: remove unused CSS `.docblock a:not(.srclink)` This selector was added inc7312fbae4
, because the list of impl items could be nested below `docblock`.c7312fbae4/src/librustdoc/html/render.rs (L3841-L3845)
Now that rustdoc toggles have been switched to `<details>`, there shouldn't be any need to put things inside docblock containers just to give them disclosure toggles.
This commit is contained in:
commit
d6c05fb9f1
@ -768,8 +768,9 @@ h2.small-section-header > .anchor {
|
||||
}
|
||||
|
||||
.all-items a:hover,
|
||||
.docblock a:not(.srclink):not(.test-arrow):not(.scrape-help):hover,
|
||||
.docblock-short a:not(.srclink):not(.test-arrow):not(.scrape-help):hover, .item-info a {
|
||||
.docblock a:not(.test-arrow):not(.scrape-help):hover,
|
||||
.docblock-short a:not(.test-arrow):not(.scrape-help):hover,
|
||||
.item-info a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user