Fix Sidebar height to occupy viewport height
This commit is contained in:
1 file changed
+5
-1
@@ -262,7 +262,11 @@ function Sidebar() {
|
|||||||
Menu
|
Menu
|
||||||
</ListSubheader>
|
</ListSubheader>
|
||||||
}
|
}
|
||||||
sx={{ px: theme.spacing(6) }}
|
sx={{
|
||||||
|
px: theme.spacing(6),
|
||||||
|
height: "100%",
|
||||||
|
overflow: "hidden"
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
{menu.map((item) =>
|
{menu.map((item) =>
|
||||||
item.path ? (
|
item.path ? (
|
||||||
|
|||||||
Reference in new issue
Block a user