File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ export default function Layout({ children }: UserLayoutProps) {
2020 }
2121
2222 return (
23- < div className = "flex h-full grow flex-col" >
23+ < div className = "flex min-h-screen flex-col" >
2424 < header className = "z-1 sticky top-0 bg-primaryBlue" >
2525 < MainNav hideSearch = { hideSearch } />
2626 </ header >
27- < > { children } </ >
27+ < main className = "grow" > { children } </ main >
2828 < footer >
2929 < MainFooter />
3030 </ footer >
Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ interface DashboardLayoutProps {
1111
1212export default function Layout ( { children } : DashboardLayoutProps ) {
1313 return (
14- < div className = "flex h-full grow flex-col" >
14+ < div className = "flex min-h-screen flex-col" >
1515 < header className = "sticky top-0 z-1 bg-primaryBlue" >
1616 < MainNav />
1717 </ header >
18- < > { children } </ >
18+ < main className = "grow" > { children } </ main >
1919 < footer >
2020 < MainFooter />
2121 </ footer >
You can’t perform that action at this time.
0 commit comments