Skip to content

Commit c013de4

Browse files
committed
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
1 parent b68fc18 commit c013de4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/rustdoc.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ ol, ul {
121121
padding-left: 25px;
122122
}
123123
ul ul, ol ul, ul ol, ol ol {
124-
margin-bottom: 0;
124+
margin-bottom: .6em;
125125
}
126126

127127
p {

0 commit comments

Comments
 (0)