Let route content fill the viewport under the navbar

This commit is contained in:
Aaron Po
2026-10-13 01:32:28 -04:00
parent 19791df6a5
commit 5ac55b8be0

View File

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