Skip to content

Commit 76850fb

Browse files
committed
improve alert style
1 parent c440cc9 commit 76850fb

File tree

1 file changed

+5
-1
lines changed
  • packages/markdown/assets/directive-alert

1 file changed

+5
-1
lines changed

packages/markdown/assets/directive-alert/style.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
}
55

66
.directive-alert>p {
7-
margin-bottom: 0;
7+
margin-bottom: 10px;
88
}
99

1010
.directive-alert {
@@ -34,6 +34,10 @@
3434
:first-child {
3535
margin-top: 0;
3636
}
37+
38+
:first-child.p {
39+
margin-top: 10px;
40+
}
3741
}
3842

3943
.directive-alert.icon::before {

0 commit comments

Comments
 (0)