Skip to content

Commit 7181b8f

Browse files
committed
rustdoc: merge background-image rules in rustdoc-toggle CSS
1 parent 8a09420 commit 7181b8f

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

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

+1-8
Original file line numberDiff line numberDiff line change
@@ -1512,6 +1512,7 @@ details.rustdoc-toggle > summary.hideme > span {
15121512
}
15131513

15141514
details.rustdoc-toggle > summary::before {
1515+
background-image: url("toggle-plus-1092eb4930d581b0.svg");
15151516
content: "";
15161517
cursor: pointer;
15171518
width: 16px;
@@ -1599,14 +1600,6 @@ details.rustdoc-toggle[open] > summary.hideme > span {
15991600
details.rustdoc-toggle[open] > summary::before,
16001601
details.rustdoc-toggle[open] > summary.hideme::before {
16011602
background-image: url("toggle-minus-31bbd6e4c77f5c96.svg");
1602-
}
1603-
1604-
details.rustdoc-toggle > summary::before {
1605-
background-image: url("toggle-plus-1092eb4930d581b0.svg");
1606-
}
1607-
1608-
details.rustdoc-toggle[open] > summary::before,
1609-
details.rustdoc-toggle[open] > summary.hideme::before {
16101603
width: 16px;
16111604
height: 16px;
16121605
background-repeat: no-repeat;

0 commit comments

Comments
 (0)