about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-07-04 10:16:21 +0000
committerbors <bors@rust-lang.org>2014-07-04 10:16:21 +0000
commit36d7d746c8366d78b332cffdff85318e709b38ca (patch)
tree005e7200d884de2bcde49fe6975a53e168918e75 /src/doc
parent5012b858ed939ced9e4ac6c7a31c0a038661dd92 (diff)
parentfb258f22de4b1ef633627deda7a36006cae58172 (diff)
downloadrust-36d7d746c8366d78b332cffdff85318e709b38ca.tar.gz
rust-36d7d746c8366d78b332cffdff85318e709b38ca.zip
auto merge of #15387 : huonw/rust/toc-space, r=alexcrichton
A margin for the top level list was leaking into nested ones.

before; after:

![screenshot from 2014-07-04 08 18 32](https://cloud.githubusercontent.com/assets/1203825/3476459/0b7f8ea8-0300-11e4-8b67-0c47b7931d56.png)
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rust.css3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/doc/rust.css b/src/doc/rust.css
index b9d585c953c..3dd770fd976 100644
--- a/src/doc/rust.css
+++ b/src/doc/rust.css
@@ -132,6 +132,7 @@ nav {
     -moz-column-count: 2;
     -webkit-column-count: 2;
     font-size: 15px;
+    margin: 0 0 1em 0;
 }
 p {
     margin: 0 0 1em 0;
@@ -275,7 +276,7 @@ dd {
 
 nav ul {
     list-style-type: none;
-    margin: 0 0 20px 0;
+    margin: 0;
     padding-left: 0px;
 }