Skip to content

Commit 94a3f96

Browse files
committed
rustdoc: lists items that contain multiple paragraphs are more clear
fixes #130622
1 parent a3f76a2 commit 94a3f96

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/librustdoc/html/static/css/rustdoc.css

+7
Original file line numberDiff line numberDiff line change
@@ -958,6 +958,13 @@ pre, .rustdoc.src .example-wrap, .example-wrap .src-line-numbers {
958958
display: inline-block;
959959
}
960960

961+
.docblock li {
962+
margin-bottom: .8em;
963+
}
964+
.docblock li p {
965+
margin-bottom: .1em;
966+
}
967+
961968
/* "where ..." clauses with block display are also smaller */
962969
div.where {
963970
white-space: pre-wrap;

0 commit comments

Comments
 (0)