Skip to content

Commit fb258f2

Browse files
committed
doc: reduce spacing of table of contents.
A margin for the top level list was leaking into nested ones.
1 parent 44ec28c commit fb258f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/doc/rust.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ nav {
132132
-moz-column-count: 2;
133133
-webkit-column-count: 2;
134134
font-size: 15px;
135+
margin: 0 0 1em 0;
135136
}
136137
p {
137138
margin: 0 0 1em 0;
@@ -275,7 +276,7 @@ dd {
275276

276277
nav ul {
277278
list-style-type: none;
278-
margin: 0 0 20px 0;
279+
margin: 0;
279280
padding-left: 0px;
280281
}
281282

0 commit comments

Comments
 (0)