fix footer content overlapping and scrollbar

This commit is contained in:
Aine 2024-10-21 13:27:32 +03:00
parent 7feec4ba07
commit f2f540b429
No known key found for this signature in database
GPG key ID: 34969C908CCA2804
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>
);