proper layout

This commit is contained in:
Robert 2024-03-08 20:35:09 +07:00
parent 32d6f1da5c
commit 243f7cb1f7
No known key found for this signature in database
GPG Key ID: F631C7FD957D5F22

View File

@ -6,9 +6,12 @@ export const Route = createRootRoute({
component: () => (
<div>
<Header />
<div className="flex gap-x-4 overflow-hidden">
<div className="flex overflow-hidden">
<Sidebar />
<Outlet />
<main className="mt-4 h-screen w-full overflow-y-scroll px-2">
<Outlet />
</main>
</div>
</div>
),