Skip to content

Commit bf2ee19

Browse files
committed
rustdoc: make toggle buttons a bit bigger
1 parent 3ff994d commit bf2ee19

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1449,13 +1449,13 @@ details.toggle > summary.hideme > span {
14491449

14501450
details.toggle > summary::before {
14511451
/* toggle plus */
1452-
background: url('data:image/svg+xml,<svg width="17" height="17" stroke="black" fill="none" \
1453-
xmlns="http://www.w3.org/2000/svg"><path d="M2.5 2.5h12v12h-12v-12.5" \
1454-
shape-rendering="crispEdges"/><path d="M6 8.5h5M8.5 11.5V5.5"/></svg>') no-repeat top left;
1452+
background: url('data:image/svg+xml,<svg width="19" height="19" stroke="black" fill="none" \
1453+
xmlns="http://www.w3.org/2000/svg"><path d="M2.5 2.5h14v14h-14v-14.5" \
1454+
shape-rendering="crispEdges"/><path d="M6 9.5h7M9.5 13.5V5.5"/></svg>') no-repeat top left;
14551455
content: "";
14561456
cursor: pointer;
1457-
width: 16px;
1458-
height: 16px;
1457+
width: 18px;
1458+
height: 18px;
14591459
display: inline-block;
14601460
vertical-align: middle;
14611461
opacity: .5;
@@ -1530,9 +1530,9 @@ details.toggle[open] > summary.hideme > span {
15301530

15311531
details.toggle[open] > summary::before {
15321532
/* toggle minus */
1533-
background: url('data:image/svg+xml,<svg width="17" height="17" \
1533+
background: url('data:image/svg+xml,<svg width="19" height="19" \
15341534
shape-rendering="crispEdges" stroke="black" fill="none" xmlns="http://www.w3.org/2000/svg"><path \
1535-
d="M2.5 2.5h12v12h-12v-12.5"/><path d="M6 8.5h5"/></svg>') no-repeat top left;
1535+
d="M2.5 2.5h14v14h-14v-14.5"/><path d="M6 9.5h7"/></svg>') no-repeat top left;
15361536
}
15371537

15381538
details.toggle[open] > summary::after {

0 commit comments

Comments
 (0)