Skip to content

Commit f20a1d7

Browse files
Rollup merge of #56321 - jnqnfe:css_nested_list_margin, r=GuillaumeGomez
rustdoc: add bottom margin spacing to nested lists the current CSS for nested lists sets margin-bottom to zero, which means that a nested list is squished up against subsequent list items/paragraphs this changes the bottom margin to .6em, same as for paragraphs before: ![before](https://user-images.githubusercontent.com/33935229/49176291-699ba800-f342-11e8-9d33-c4acd4df2beb.png) after: ![after](https://user-images.githubusercontent.com/33935229/49176299-6f918900-f342-11e8-90c3-aa14db195b45.png)
2 parents 79f02e4 + c013de4 commit f20a1d7

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)