fix: Fix tables + add open navigation

This commit is contained in:
2025-06-15 15:03:36 +03:00
parent 2117a6836e
commit 481385c2f4
4 changed files with 74 additions and 59 deletions

View File

@ -55,10 +55,20 @@ export const Layout: React.FC<LayoutProps> = ({ children }) => {
)}
</IconButton>
</DrawerHeader>
<NavigationList open={open} />
<NavigationList open={open} onDrawerOpen={handleDrawerOpen} />
</Drawer>
<Box component="main" sx={{ flexGrow: 1, p: 3 }}>
<Box
component="main"
sx={{
width: "100%",
flexGrow: 1,
p: 3,
overflow: "auto",
maxWidth: "100vw",
}}
>
<DrawerHeader />
{children}
</Box>
</Box>