about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2018-11-24 23:56:27 +0000
committerLyndon Brown <jnqnfe@gmail.com>2018-11-28 16:05:43 +0000
commitc013de4f9b0e9197dc09f8e48ad970fcdf0dbea4 (patch)
tree9ced07898cd9469653c1fa22c96fd9b1e689f034
parentb68fc18c45350e1cdcd83cecf0f12e294e55af56 (diff)
downloadrust-c013de4f9b0e9197dc09f8e48ad970fcdf0dbea4.tar.gz
rust-c013de4f9b0e9197dc09f8e48ad970fcdf0dbea4.zip
rustdoc: add margin-bottom spacing to nested lists
set to zero meant that the nested list was squished up against
subsequent list items/paragraphs

this changes the bottom margin to .6em, same as for paragraphs

an example demonstrating the difference with screenshots is given in the
pull request
-rw-r--r--src/librustdoc/html/static/rustdoc.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index b2473dd9b23..a5b4a86ad8d 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -121,7 +121,7 @@ ol, ul {
 	padding-left: 25px;
 }
 ul ul, ol ul, ul ol, ol ol {
-	margin-bottom: 0;
+	margin-bottom: .6em;
 }
 
 p {