From 1630bc3493a4acdb63c5b6077ec0a43dc303e6d9 Mon Sep 17 00:00:00 2001 From: wbhouston Date: Mon, 26 May 2025 14:01:32 -0400 Subject: [PATCH] Update widget header to not overflow container (#1410) Also add a 10px margin below the header to maintain consistent spacing around the widget contents. --- web/styles/editor.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/styles/editor.scss b/web/styles/editor.scss index 7eb578b1..b003566d 100644 --- a/web/styles/editor.scss +++ b/web/styles/editor.scss @@ -480,10 +480,11 @@ position: relative; min-height: 48px; } + .sb-lua-top-widget h1, .sb-lua-bottom-widget h1 { - margin: -15px -15px 0 -15px !important; - padding: 15px 15px 10px 15px !important; + margin: -10px -10px 10px -10px !important; + padding: 15px 10px !important; background-color: var(--editor-widget-background-color); font-size: 1.2em; }