Skip to content

Commit

Permalink
Rollup merge of rust-lang#105189 - notriddle:notriddle/rustdoc-toggle…
Browse files Browse the repository at this point in the history
…-hideme, r=GuillaumeGomez

rustdoc: clean up redundant CSS on `.rustdoc-toggle.hideme`
  • Loading branch information
Yuki Okushi committed Dec 3, 2022
2 parents 7d4af88 + c635cb7 commit d8f6cc3
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -1585,17 +1585,11 @@ details.rustdoc-toggle[open] > summary.hideme > span {
display: none;
}

details.rustdoc-toggle[open] > summary::before,
details.rustdoc-toggle[open] > summary.hideme::before {
details.rustdoc-toggle[open] > summary::before {
background: url("toggle-minus-31bbd6e4c77f5c96.svg") no-repeat top left;
width: 16px;
height: 16px;
display: inline-block;
content: "";
}

details.rustdoc-toggle[open] > summary::after,
details.rustdoc-toggle[open] > summary.hideme::after {
details.rustdoc-toggle[open] > summary::after {
content: "Collapse";
}

Expand Down

0 comments on commit d8f6cc3

Please sign in to comment.