From 62406fc968acd5824963090905263ab1f4a86354 Mon Sep 17 00:00:00 2001 From: iris Date: Mon, 8 Jun 2026 21:54:05 +0200 Subject: [PATCH] fix(dashboard): server-warnings banner spans full page width (#1531) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The banner is prepended as a direct child of , so on pages that pad the body gutter (the dashboard + H0M3 use a 1.5em horizontal gutter) it inherited 1.5em gaps left and right. Break out of that padding with negative margins matching the gutter — the same trick .dashboard-chrome uses — scoped to the dashboard + home shells. FL0W + L0GS are full-bleed already (no body padding), so they're unchanged. --- frontend/packages/dashboard/src/common.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/frontend/packages/dashboard/src/common.css b/frontend/packages/dashboard/src/common.css index 1099848d..73f35030 100644 --- a/frontend/packages/dashboard/src/common.css +++ b/frontend/packages/dashboard/src/common.css @@ -529,6 +529,16 @@ body.side-panel-resizing * { cursor: ew-resize !important; } top: 0; z-index: 50; } +/* The bar is prepended as a direct child of . On pages that pad + the body gutter (the dashboard + H0M3 use a 1.5em horizontal gutter), + break out of that padding so the warning spans the full width + edge-to-edge — the same trick `.dashboard-chrome` uses. FL0W + L0GS + are already full-bleed (no body padding), so they need no override. */ +body.dashboard-shell #server-warnings, +body.home-shell #server-warnings { + margin-left: -1.5em; + margin-right: -1.5em; +} .server-warnings[hidden] { display: none; } .server-warn { text-align: center;