Skip to content

Commit c635cb7

Browse files
committed
rustdoc: clean up redundant CSS on .rustdoc-toggle.hideme
1 parent e960b5e commit c635cb7

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
@@ -1590,17 +1590,11 @@ details.rustdoc-toggle[open] > summary.hideme > span {
15901590
display: none;
15911591
}
15921592

1593-
details.rustdoc-toggle[open] > summary::before,
1594-
details.rustdoc-toggle[open] > summary.hideme::before {
1593+
details.rustdoc-toggle[open] > summary::before {
15951594
background: url("toggle-minus-31bbd6e4c77f5c96.svg") no-repeat top left;
1596-
width: 16px;
1597-
height: 16px;
1598-
display: inline-block;
1599-
content: "";
16001595
}
16011596

1602-
details.rustdoc-toggle[open] > summary::after,
1603-
details.rustdoc-toggle[open] > summary.hideme::after {
1597+
details.rustdoc-toggle[open] > summary::after {
16041598
content: "Collapse";
16051599
}
16061600

0 commit comments

Comments
 (0)