feat: layout padding and scroll added
This commit is contained in:
@@ -44,7 +44,15 @@ export const Layout = () => {
|
||||
setSideNavOpen={setSideNavOpen}
|
||||
user={userInfo}
|
||||
/>
|
||||
<Box sx={{ flex: 1, overflowY: 'auto' }}>
|
||||
<Box
|
||||
sx={{
|
||||
flex: 1,
|
||||
overflowY: 'auto',
|
||||
p: 2,
|
||||
maxHeight: 'calc(100% - 85px)',
|
||||
overflowInline: 'auto',
|
||||
}}
|
||||
>
|
||||
<Outlet />
|
||||
</Box>
|
||||
</Box>
|
||||
|
||||
Reference in New Issue
Block a user