Rollup merge of #105189 - notriddle:notriddle/rustdoc-toggle-hideme, r=GuillaumeGomez

rustdoc: clean up redundant CSS on `.rustdoc-toggle.hideme`
This commit is contained in:
Yuki Okushi 2022-12-03 12:51:30 +09:00 committed by GitHub
commit d8f6cc3b63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";
}