Fix Admin Toolbar sticky positioning

This commit is contained in:
gpt-engineer-app[bot]
2025-10-17 18:18:20 +00:00
parent 838c05b749
commit fb8f61b12c

View File

@@ -24,7 +24,7 @@ export function AdminLayout({
<SidebarProvider defaultOpen={true}> <SidebarProvider defaultOpen={true}>
<div className="flex min-h-screen w-full"> <div className="flex min-h-screen w-full">
<AdminSidebar /> <AdminSidebar />
<main className="flex-1 flex flex-col overflow-hidden"> <main className="flex-1 flex flex-col">
<AdminTopBar <AdminTopBar
onRefresh={onRefresh} onRefresh={onRefresh}
refreshMode={refreshMode} refreshMode={refreshMode}
@@ -32,7 +32,7 @@ export function AdminLayout({
lastUpdated={lastUpdated} lastUpdated={lastUpdated}
isRefreshing={isRefreshing} isRefreshing={isRefreshing}
/> />
<div className="flex-1 overflow-auto bg-muted/30"> <div className="flex-1 overflow-y-auto bg-muted/30">
<div className="container mx-auto px-6 py-8 max-w-7xl"> <div className="container mx-auto px-6 py-8 max-w-7xl">
{children} {children}
</div> </div>