Centre the offline banner over the content column

This commit is contained in:
2026-08-22 12:09:18 +02:00
parent 09e2e5e133
commit 3674099758
2 changed files with 25 additions and 25 deletions
+3 -2
View File
@@ -29,10 +29,11 @@ function Layout() {
return (
<SidebarProvider className="bg-card">
{/* Renders nothing unless this page is served through a portal. */}
<ConnectionBanner />
<AppSidebar />
<SidebarInset className="bg-card">
{/* Renders nothing unless this page is served through a portal.
Inside the inset so it centres over the content, not the window. */}
<ConnectionBanner />
{/* The sidebar carries its own collapse control; a phone has no
sidebar on screen to carry it. */}
<header className="sticky top-0 z-10 flex h-16 shrink-0 items-center gap-2 px-4 md:hidden">