fix: Fix tables
+ add open navigation
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user