mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-10-14 17:54:42 +00:00
Let route content fill the viewport under the navbar
This commit is contained in:
@@ -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 />
|
||||||
<Outlet />
|
<div className="flex flex-1 flex-col">
|
||||||
</>
|
<Outlet />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user