File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ export const Layout: FC<PropsWithChildren<LayoutProps>> = ({
5959 const isMobile = useIsMobile ( )
6060
6161 const layoutContent = (
62- < div className = { cn ( 'w-full flex flex-col min-h-screen ' , className ) } >
62+ < div className = { cn ( 'w-full flex flex-col min-h-[max(100vh,800px)] ' , className ) } >
6363 { headerContent && < Header > { headerContent } </ Header > }
6464
6565 { isMobile && (
@@ -79,7 +79,7 @@ export const Layout: FC<PropsWithChildren<LayoutProps>> = ({
7979 { headerBreadcrumbsContent && (
8080 < HeaderBreadcrumbs hasSidebar = { ! ! sidebar } > { headerBreadcrumbsContent } </ HeaderBreadcrumbs >
8181 ) }
82- < main className = "flex-1 overflow-y-auto min-h-0" > { children } </ main >
82+ < main className = "flex-1 max-w-[96rem] mx-auto overflow-y-auto min-h-0" > { children } </ main >
8383 </ div >
8484 </ div >
8585 </ div >
You can’t perform that action at this time.
0 commit comments