Skip to content

Commit

Permalink
rustdoc: clean up redundant CSS on .rustdoc-toggle.hideme
Browse files Browse the repository at this point in the history
  • Loading branch information
notriddle committed Dec 2, 2022
1 parent e960b5e commit c635cb7
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 @@ -1590,17 +1590,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 c635cb7

Please sign in to comment.