From 99a666c4577d81eae1ba032eb356fc9372e58e6e Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Sat, 24 Oct 2026 05:00:58 +0200 Subject: [PATCH] Fix help spacing in UI widget pages --- unauthenticated/css/ui-lib.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/unauthenticated/css/ui-lib.css b/unauthenticated/css/ui-lib.css index 5f105b878..a9a82bd53 100644 --- a/unauthenticated/css/ui-lib.css +++ b/unauthenticated/css/ui-lib.css @@ -281,7 +281,9 @@ body:has(.ui_page[data-ui-scheme="dark"]) { .ui_field, .ui_field * { box-sizing: border-box; } -.ui_page h1, .ui_page h2, .ui_page p, .ui_page dl, .ui_page dd { margin: 0; } +/* Reset widget paragraphs without removing spacing from help and other prose. */ +.ui_page h1, .ui_page h2, .ui_page p.ui--p, +.ui_page dl, .ui_page dd { margin: 0; } .ui_page svg.ui_svg_icon { flex-shrink: 0; vertical-align: -0.18em; } /* Underline plain text links, but keep links styled as buttons undecorated. */