Fix list margins
This commit is contained in:
parent
3002af6cb6
commit
cc36e0d983
@ -961,10 +961,13 @@ pre, .rustdoc.src .example-wrap, .example-wrap .src-line-numbers {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.docblock li {
|
.docblock li {
|
||||||
margin-bottom: .8em;
|
margin-bottom: .4em;
|
||||||
}
|
}
|
||||||
.docblock li p {
|
.docblock li p:not(:last-child) {
|
||||||
margin-bottom: .1em;
|
/* This margin is voluntarily smaller than `.docblock li` to keep the visual
|
||||||
|
list element items separated while also having a visual separation (although
|
||||||
|
smaller) for paragraphs. */
|
||||||
|
margin-bottom: .3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* "where ..." clauses with block display are also smaller */
|
/* "where ..." clauses with block display are also smaller */
|
||||||
|
Loading…
Reference in New Issue
Block a user