Skip to content

Commit 922019b

Browse files
committed
This time, really fix paragraphs in list items.
1 parent bc05338 commit 922019b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/_static/custom.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ div.viewcode-block:target {
410410
}
411411

412412
/* Fix paragraphs in list items. */
413-
#main-content ol > li > p,
414-
#main-content ul > li > p {
415-
margin-bottom: 1em;
413+
#main-content ol > li > p:nth-child(n+2),
414+
#main-content ul > li > p:nth-child(n+2) {
415+
margin-top: 1em;
416416
}

0 commit comments

Comments
 (0)