Skip to content

Commit e5781ce

Browse files
authored
Fix margin issue in markup paragraph rendering (#34599)
The Fomantic-inherited `p:last-child` rule in base.css interferes with this markdown rendering.
1 parent 108db0b commit e5781ce

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

web_src/css/markup/content.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,11 @@
134134
margin-bottom: 16px;
135135
}
136136

137+
/* override p:last-child from base.css */
138+
.markup p:last-child {
139+
margin-bottom: 16px;
140+
}
141+
137142
.markup hr {
138143
height: 4px;
139144
padding: 0;

0 commit comments

Comments
 (0)