Let route content fill the viewport under the navbar

This commit is contained in:
Aaron Po
2026-10-08 23:10:48 -04:00
parent 6aeda0fc78
commit 370790867a

View File

@@ -63,12 +63,14 @@ export const Layout = ({ children }: { children: React.ReactNode }) => {
const App = ({ loaderData }: Route.ComponentProps) => { const App = ({ loaderData }: Route.ComponentProps) => {
const { auth } = loaderData; const { auth } = loaderData;
return ( return (
<> <div className="flex min-h-screen flex-col">
<Navbar auth={auth} /> <Navbar auth={auth} />
<ToastProvider /> <ToastProvider />
<AiDisclosureDialog /> <AiDisclosureDialog />
<div className="flex flex-1 flex-col">
<Outlet /> <Outlet />
</> </div>
</div>
); );
}; };