From 610f547dbf1b6df7a0deae2b6d8edb768917f630 Mon Sep 17 00:00:00 2001 From: bunker-admin Date: Thu, 2 Apr 2026 15:12:27 -0600 Subject: [PATCH] Fix dashboard mobile layout: header overflow, welcome banner, and stats grid Hide nav icon bar and volunteer button on mobile (accessible via drawer), stack welcome banner vertically with proper nowrap, replace status bar flex row with 3-column CSS grid using MobileQuickStat component. Bunker Admin --- admin/src/components/AppLayout.tsx | 28 ++-- admin/src/pages/DashboardPage.tsx | 200 ++++++++++++++++++++--------- 2 files changed, 157 insertions(+), 71 deletions(-) diff --git a/admin/src/components/AppLayout.tsx b/admin/src/components/AppLayout.tsx index f63c3dfe..b648495b 100644 --- a/admin/src/components/AppLayout.tsx +++ b/admin/src/components/AppLayout.tsx @@ -638,7 +638,7 @@ export default function AppLayout() { /> {pageHeader?.actions} - {(() => { + {!isMobile && (() => { const merged = mergeNavDefaults(settings?.navConfig?.items ?? DEFAULT_NAV_ITEMS); const withOverrides = applyAdminOverrides(merged); const flags = buildFeatureFlags(settings); @@ -676,7 +676,7 @@ export default function AppLayout() { placement="bottomRight" > ); @@ -689,23 +689,25 @@ export default function AppLayout() { icon={getIcon(item.icon)} onClick={() => handleItemClick(item)} > - {!isMobile && !collapsed && item.label} + {!collapsed && item.label} ); }); })()} {/* Volunteer Portal button — always visible for quick switching */} - - - + {!isMobile && ( + + + + )}