handle page overflow

This commit is contained in:
fmtabbara
2022-06-06 15:21:06 +01:00
parent 9503521ecc
commit 0894be7981
+3 -1
View File
@@ -44,7 +44,9 @@ export const ApplicationLayout: React.FC = ({ children }) => {
</Box>
<Container maxWidth="xl">
<AppBar />
{children}
<Box overflow="auto" sx={{ height: () => `calc(100% - ${theme.spacing(10)})` }}>
{children}
</Box>
</Container>
</Box>
</>