Skip to content

Commit

Permalink
rustdoc: lists items that contain multiple paragraphs are more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
lolbinarycat committed Sep 27, 2024
1 parent a3f76a2 commit 94a3f96
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 94a3f96

Please sign in to comment.