Skip to content

Commit bb82cd2

Browse files
medmundsBlendify
authored andcommitted
Add spacing between items in "open" lists (#591)
Override wyrm's `... li p:last-child { margin-bottom: 0 }` from .wy-plain-list-disc and .wy-plain-list-decimal. Fixes #590. (And probably #354.)
1 parent b97a7ee commit bb82cd2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sass/_theme_rst.sass

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@
127127
@extend .wy-plain-list-decimal
128128
.section ol p, .section ul p
129129
margin-bottom: $base-line-height / 2
130+
&:last-child
131+
margin-bottom: $base-line-height
130132
.line-block
131133
margin-left: 0px
132134
margin-bottom: $base-line-height

0 commit comments

Comments
 (0)