Skip to content

Commit a5edf06

Browse files
committed
Tweak sizes and positions.
1 parent d21f06f commit a5edf06

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/librustdoc/html/static/rustdoc.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1756,7 +1756,7 @@ div.name.expand::before {
17561756
margin-left: 4em;
17571757
}
17581758

1759-
details > summary {
1759+
details > summary.hideme {
17601760
cursor: pointer;
17611761
font-size: 20px;
17621762
}
@@ -1777,7 +1777,8 @@ details > summary > span {
17771777
details > summary::before {
17781778
content: "[+]";
17791779
font-weight: 300;
1780-
font-size: 16px;
1780+
/* font-size: 16px; */
1781+
font-size: 0.8em;
17811782
color: #999;
17821783
letter-spacing: 1px;
17831784
}
@@ -1804,4 +1805,6 @@ details[open] > summary.hideme {
18041805

18051806
details > summary:not(.hideme)::before {
18061807
float: left;
1808+
position: relative;
1809+
left: -6px;
18071810
}

0 commit comments

Comments
 (0)