1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-03 17:17:19 +00:00

Fix margin issue in markup paragraph rendering (#34599)

The Fomantic-inherited `p:last-child` rule in base.css interferes with
this markdown rendering.
This commit is contained in:
silverwind
2025-06-05 07:07:14 +02:00
committed by GitHub
parent 108db0b04f
commit e5781cec75

View File

@ -134,6 +134,11 @@
margin-bottom: 16px; margin-bottom: 16px;
} }
/* override p:last-child from base.css */
.markup p:last-child {
margin-bottom: 16px;
}
.markup hr { .markup hr {
height: 4px; height: 4px;
padding: 0; padding: 0;