Skip to content

Commit 70ccc85

Browse files
committed
Replay changes to default.css onto default-TR.css: [csswg] Add some styling to handle MD-genned lists.
Original change was: # User Tab Atkins Jr. <jackalmage@gmail.com> # Date 1405717917 25200 # Fri Jul 18 14:11:57 2014 -0700 # Node ID ac86e824825ceafbc7c86b269ec6d44fa9671a68 # Parent 0daa9ed2cf27fd238f2dde1a89cab35272a97ec3 [csswg] Add some styling to handle MD-genned lists.
1 parent ffd0d2f commit 70ccc85

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

default-TR.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,14 @@
127127
line-height: 0.5em;
128128
}
129129

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

0 commit comments

Comments
 (0)