Skip to content

Commit e930ab3

Browse files
committed
rustdoc: make toggle buttons a bit bigger
1 parent 73d8119 commit e930ab3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

+7-7
Original file line numberDiff line numberDiff line change
@@ -1594,13 +1594,13 @@ details.toggle > summary.hideme > span {
15941594

15951595
details.toggle > summary::before {
15961596
/* toggle plus */
1597-
background: url('data:image/svg+xml,<svg width="17" height="17" stroke="black" fill="none" \
1598-
xmlns="http://www.w3.org/2000/svg"><path d="M2.5 2.5h12v12h-12v-12.5" \
1599-
shape-rendering="crispEdges"/><path d="M6 8.5h5M8.5 11.5V5.5"/></svg>') no-repeat top left;
1597+
background: url('data:image/svg+xml,<svg width="19" height="19" stroke="black" fill="none" \
1598+
xmlns="http://www.w3.org/2000/svg"><path d="M2.5 2.5h14v14h-14v-14.5" \
1599+
shape-rendering="crispEdges"/><path d="M6 9.5h7M9.5 13.5V5.5"/></svg>') no-repeat top left;
16001600
content: "";
16011601
cursor: pointer;
1602-
width: 16px;
1603-
height: 16px;
1602+
width: 18px;
1603+
height: 18px;
16041604
display: inline-block;
16051605
vertical-align: middle;
16061606
opacity: .5;
@@ -1675,9 +1675,9 @@ details.toggle[open] > summary.hideme > span {
16751675

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

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

0 commit comments

Comments
 (0)