Skip to content

Commit d8f6cc3

Browse files
author
Yuki Okushi
authored
Rollup merge of #105189 - notriddle:notriddle/rustdoc-toggle-hideme, r=GuillaumeGomez
rustdoc: clean up redundant CSS on `.rustdoc-toggle.hideme`
2 parents 7d4af88 + c635cb7 commit d8f6cc3

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/librustdoc/html/static/css/rustdoc.css

+2-8
Original file line numberDiff line numberDiff line change
@@ -1585,17 +1585,11 @@ details.rustdoc-toggle[open] > summary.hideme > span {
15851585
display: none;
15861586
}
15871587

1588-
details.rustdoc-toggle[open] > summary::before,
1589-
details.rustdoc-toggle[open] > summary.hideme::before {
1588+
details.rustdoc-toggle[open] > summary::before {
15901589
background: url("toggle-minus-31bbd6e4c77f5c96.svg") no-repeat top left;
1591-
width: 16px;
1592-
height: 16px;
1593-
display: inline-block;
1594-
content: "";
15951590
}
15961591

1597-
details.rustdoc-toggle[open] > summary::after,
1598-
details.rustdoc-toggle[open] > summary.hideme::after {
1592+
details.rustdoc-toggle[open] > summary::after {
15991593
content: "Collapse";
16001594
}
16011595

0 commit comments

Comments
 (0)