Centre the offline banner over the content column
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user