rustdoc: lists items that contain multiple paragraphs are more clear

fixes https://github.com/rust-lang/rust/issues/130622
This commit is contained in:
binarycat 2024-09-27 12:43:34 -04:00
parent a3f76a26e0
commit 94a3f96f71

View File

@ -958,6 +958,13 @@ pre, .rustdoc.src .example-wrap, .example-wrap .src-line-numbers {
display: inline-block;
}
.docblock li {
margin-bottom: .8em;
}
.docblock li p {
margin-bottom: .1em;
}
/* "where ..." clauses with block display are also smaller */
div.where {
white-space: pre-wrap;