Skip to content

Commit a0e956a

Browse files
committed
[csswg] Add some styling to handle MD-genned lists.
--HG-- extra : rebase_source : 2bdbb3f829e532ab9bd30683c9328013b54b661f
1 parent f92c6f3 commit a0e956a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

default.css

+8
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,14 @@
125125
line-height: 0.5em;
126126
}
127127

128+
/* Style for paragraphs I know are in MD-genned lists */
129+
[data-md] > :first-child {
130+
margin-top: 0;
131+
}
132+
[data-md] > :last-child {
133+
margin-bottom: 0;
134+
}
135+
128136
/** Inline Lists **************************************************************/
129137
/* This is mostly to make the list inside the CR exit criteria more compact. */
130138

0 commit comments

Comments
 (0)