fix(web): clear the bottom nav's safe-area inset on scrollable pages

This commit is contained in:
Jose Selesan
2026-10-19 20:34:56 -03:00
parent b913fe3299
commit 247ea903a9

View File

@@ -40,7 +40,7 @@ function AuthenticatedLayout() {
<AppSidebar />
<SidebarInset>
<AppHeader />
<div className="flex flex-1 flex-col gap-4 p-4 pb-20 md:gap-6 md:p-6 md:pb-6">
<div className="flex flex-1 flex-col gap-4 p-4 pb-[calc(5rem+env(safe-area-inset-bottom))] md:gap-6 md:p-6 md:pb-6">
<Outlet />
</div>
<BottomNav />