Skip to content

Commit d5b23b2

Browse files
committed
rustdoc: make toggle buttons a bit bigger
1 parent 4cef849 commit d5b23b2

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
@@ -1533,13 +1533,13 @@ details.toggle > summary.hideme > span {
15331533

15341534
details.toggle > summary::before {
15351535
/* toggle plus */
1536-
background: url('data:image/svg+xml,<svg width="17" height="17" stroke="black" fill="none" \
1537-
xmlns="http://www.w3.org/2000/svg"><path d="M2.5 2.5h12v12h-12v-12.5" \
1538-
shape-rendering="crispEdges"/><path d="M6 8.5h5M8.5 11.5V5.5"/></svg>') no-repeat top left;
1536+
background: url('data:image/svg+xml,<svg width="19" height="19" stroke="black" fill="none" \
1537+
xmlns="http://www.w3.org/2000/svg"><path d="M2.5 2.5h14v14h-14v-14.5" \
1538+
shape-rendering="crispEdges"/><path d="M6 9.5h7M9.5 13.5V5.5"/></svg>') no-repeat top left;
15391539
content: "";
15401540
cursor: pointer;
1541-
width: 16px;
1542-
height: 16px;
1541+
width: 18px;
1542+
height: 18px;
15431543
display: inline-block;
15441544
vertical-align: middle;
15451545
opacity: .5;
@@ -1614,9 +1614,9 @@ details.toggle[open] > summary.hideme > span {
16141614

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

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

0 commit comments

Comments
 (0)