fix footer content overlapping and scrollbar
This commit is contained in:
@@ -22,6 +22,11 @@
|
|||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.layout {
|
||||||
|
min-height: 90vh !important;
|
||||||
|
height: 90vh;
|
||||||
|
}
|
||||||
|
|
||||||
.loader-container {
|
.loader-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@@ -64,7 +64,15 @@ const AdminMenu = () => (
|
|||||||
);
|
);
|
||||||
|
|
||||||
export const AdminLayout = ({ children }) => (
|
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}
|
{children}
|
||||||
</Layout>
|
</Layout>
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user