Skip to content

Commit bd11c7f

Browse files
committed
Don't use negative margins for spacing in markdown preview
1 parent adfcf95 commit bd11c7f

1 file changed

Lines changed: 2 additions & 11 deletions

File tree

extensions/markdown-language-features/media/markdown.css

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -128,21 +128,12 @@ textarea:focus {
128128
}
129129

130130
p {
131-
margin-bottom: 1.5em;
132-
}
133-
134-
li > p {
135-
margin-bottom: 0;
136-
}
137-
138-
/* don't space 2 paragraphs too far apart */
139-
p + p {
140-
margin-top: -0.8em;
131+
margin-bottom: 0.7em;
141132
}
142133

143134
ul,
144135
ol {
145-
margin-bottom: 1.5em;
136+
margin-bottom: 0.7em;
146137
}
147138

148139
hr {

0 commit comments

Comments
 (0)