From 4702bb91b9e2257e25c32e2fd640eaaae9217a26 Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Tue, 24 Mar 2026 23:38:13 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20top=20bar=20spans=20full=20width=20?= =?UTF-8?q?=E2=80=94=20collapse=20icon=20aligns=20above=20sidebar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/dashboard/DashboardShell.tsx | 27 +++++++++++++------------ 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/components/dashboard/DashboardShell.tsx b/components/dashboard/DashboardShell.tsx index f3834bb..6c1baa0 100644 --- a/components/dashboard/DashboardShell.tsx +++ b/components/dashboard/DashboardShell.tsx @@ -39,7 +39,7 @@ function GlassTopBar({ siteId }: { siteId: string }) { return (
- {/* Collapse toggle */} + {/* Collapse toggle — aligned above sidebar */} - {/* Realtime indicator */} + {/* Realtime indicator — aligned above content right edge */} {lastUpdatedRef.current != null && ( -
+
@@ -75,16 +75,17 @@ export default function DashboardShell({ return ( -
- -
- {/* Glass top bar — collapse toggle + realtime, in the margin above the content panel */} - +
+ {/* Full-width top bar in glass area */} + + {/* Sidebar + content side by side */} +
+ {/* Content panel */}