Skip to content

Commit ffca7de

Browse files
silverwindGiteaBot
authored andcommitted
Fix margin issue in markup paragraph rendering (go-gitea#34599)
The Fomantic-inherited `p:last-child` rule in base.css interferes with this markdown rendering.
1 parent e18eae7 commit ffca7de

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)