fix footer content overlapping and scrollbar

This commit is contained in:
Aine
2024-10-21 13:27:32 +03:00
parent 7feec4ba07
commit f2f540b429
2 changed files with 14 additions and 1 deletions

View File

@@ -22,6 +22,11 @@
font-family: sans-serif;
}
.layout {
min-height: 90vh !important;
height: 90vh;
}
.loader-container {
display: flex;
align-items: center;

View File

@@ -64,7 +64,15 @@ const AdminMenu = () => (
);
export const AdminLayout = ({ children }) => (
<Layout appBar={AdminAppBar} menu={AdminMenu}>
<Layout appBar={AdminAppBar} menu={AdminMenu} sx={{
['& .RaLayout-appFrame']: {
minHeight: '90vh',
height: '90vh',
},
['& .RaLayout-content']: {
marginBottom: '3rem',
},
}}>
{children}
</Layout>
);