Skip to content

Commit d1a0ed2

Browse files
committed
style: Fix markdown style preview.
1 parent 89a2be9 commit d1a0ed2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/styles/markdown.less

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@
5555
input {
5656
vertical-align: middle;
5757
margin: 0 .2em .25em -1.6em;
58+
& + p {
59+
display: inline;
60+
}
5861
}
5962
h1, h2 {
6063
border-bottom: 1px solid #eaecef;
@@ -86,6 +89,9 @@
8689
}
8790
ol, ul {
8891
padding-left: 2em;
92+
& > p {
93+
margin-bottom: 0;
94+
}
8995
}
9096
ul {
9197
margin-bottom: 16px;

0 commit comments

Comments
 (0)