File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,9 @@ export default function ProtectedLayout({ children }: { children: ReactNode }) {
1616
1717 return (
1818 < Providers endpointURL = { endpointURL } token = { token } >
19- < div className = "sticky inset-x-0 top-0 z-50 bg-background" >
20- < Header />
21- </ div >
19+ < Header />
2220
23- < section className = "p-2 sm:p-4" > { children } </ section >
21+ < section className = "flex-1 overflow-y-auto p-2 sm:p-4" > { children } </ section >
2422 </ Providers >
2523 )
2624}
Original file line number Diff line number Diff line change @@ -41,9 +41,7 @@ export default async function RootLayout({ children }: { children: ReactNode })
4141 < Providers >
4242 < Bootstrap >
4343 < main
44- className = { cn (
45- 'relative mx-auto box-border flex h-screen w-full min-w-sm max-w-screen-xl flex-1 flex-col overflow-y-auto pb-12'
46- ) }
44+ className = { cn ( 'mx-auto box-border flex h-screen w-full min-w-sm max-w-screen-xl flex-1 flex-col pb-12' ) }
4745 >
4846 { children }
4947 </ main >
You can’t perform that action at this time.
0 commit comments