From e5781cec75d7ba350fb9162b3882192574c80429 Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 5 Jun 2025 07:07:14 +0200 Subject: [PATCH] Fix margin issue in markup paragraph rendering (#34599) The Fomantic-inherited `p:last-child` rule in base.css interferes with this markdown rendering. --- web_src/css/markup/content.css | 5 +++++ 1 file changed, 5 insertions(+) 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;