diff options
author | silverwind <me@silverwind.io> | 2025-06-05 07:07:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-05 05:07:14 +0000 |
commit | e5781cec75d7ba350fb9162b3882192574c80429 (patch) | |
tree | 7217e84bb5758c3536d2ed5a963527a84986df16 | |
parent | 108db0b04f007a0dc03262cb100aa1fe7b80e785 (diff) | |
download | gitea-e5781cec75d7ba350fb9162b3882192574c80429.tar.gz gitea-e5781cec75d7ba350fb9162b3882192574c80429.zip |
Fix margin issue in markup paragraph rendering (#34599)
The Fomantic-inherited `p:last-child` rule in base.css interferes with
this markdown rendering.
-rw-r--r-- | web_src/css/markup/content.css | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/web_src/css/markup/content.css b/web_src/css/markup/content.css index f337e07f58..b983855630 100644 --- a/web_src/css/markup/content.css +++ b/web_src/css/markup/content.css @@ -134,6 +134,11 @@ margin-bottom: 16px; } +/* override p:last-child from base.css */ +.markup p:last-child { + margin-bottom: 16px; +} + .markup hr { height: 4px; padding: 0; |