Revert "Fix: Sidemenu UI Overflows"
This commit is contained in:
1 parent
91f54bc78f
commit
3bcb33bed0
1 file changed
+1
-18
@@ -183,7 +183,6 @@ function Sidebar() {
|
|||||||
This is the top lever for styles
|
This is the top lever for styles
|
||||||
*/
|
*/
|
||||||
sx={{
|
sx={{
|
||||||
position: 'relative',
|
|
||||||
border: 1,
|
border: 1,
|
||||||
borderColor: theme.palette.primary.lowContrast,
|
borderColor: theme.palette.primary.lowContrast,
|
||||||
borderRadius: theme.shape.borderRadius,
|
borderRadius: theme.shape.borderRadius,
|
||||||
@@ -303,20 +302,6 @@ function Sidebar() {
|
|||||||
</Typography>
|
</Typography>
|
||||||
</Stack>
|
</Stack>
|
||||||
</Stack>
|
</Stack>
|
||||||
<Box
|
|
||||||
sx={{
|
|
||||||
flexGrow: 1,
|
|
||||||
overflow: 'auto',
|
|
||||||
overflowX: 'hidden',
|
|
||||||
'&::-webkit-scrollbar': {
|
|
||||||
width: theme.spacing(2),
|
|
||||||
},
|
|
||||||
'&::-webkit-scrollbar-thumb': {
|
|
||||||
backgroundColor: theme.palette.primary.lowContrast,
|
|
||||||
borderRadius: theme.spacing(4),
|
|
||||||
},
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<List
|
<List
|
||||||
component="nav"
|
component="nav"
|
||||||
aria-labelledby="nested-menu-subheader"
|
aria-labelledby="nested-menu-subheader"
|
||||||
@@ -330,7 +315,6 @@ function Sidebar() {
|
|||||||
/* TODO px should be centralized in container */
|
/* TODO px should be centralized in container */
|
||||||
px: collapsed ? theme.spacing(2) : theme.spacing(4),
|
px: collapsed ? theme.spacing(2) : theme.spacing(4),
|
||||||
backgroundColor: "transparent",
|
backgroundColor: "transparent",
|
||||||
position: 'static',
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Menu
|
Menu
|
||||||
@@ -582,8 +566,7 @@ function Sidebar() {
|
|||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
</List>
|
</List>
|
||||||
</Box>
|
<Divider sx={{ mt: "auto" }} />
|
||||||
<Divider sx={{ mt: "auto", borderColor: theme.palette.primary.lowContrast }} />
|
|
||||||
|
|
||||||
<Stack
|
<Stack
|
||||||
direction="row"
|
direction="row"
|
||||||
|
|||||||
Reference in new issue
Block a user