change style list sidebar
This commit is contained in:
@@ -87,7 +87,7 @@ export default function SidebarList({handleDrawerToggle}) {
|
||||
}, [selectedKey]);
|
||||
|
||||
return (
|
||||
<List sx={{overflow: "scroll"}}>
|
||||
<List dense={true} sx={{overflow: "scroll"}}>
|
||||
{itemMenu.map((itemArr, index) => (
|
||||
<Fragment key={index}>
|
||||
{itemArr.map((item) =>
|
||||
|
||||
@@ -34,7 +34,7 @@ const SidebarListSubItem = ({item, handleDrawerToggle}) => {
|
||||
return (
|
||||
|
||||
<Collapse in={item.showSubItem} timeout="auto" mountOnEnter={true} unmountOnExit={true}>
|
||||
<List component="div" disablePadding sx={{bgcolor: "#f6f6f6", pr: 0}}>
|
||||
<List dense={true} component="div" disablePadding sx={{bgcolor: "#f6f6f6", pr: 0}}>
|
||||
{item.subItem.map((subitem) => (
|
||||
<ListItem key={subitem.key} disablePadding secondaryAction={renderBadge(subitem)}>
|
||||
<ListItemButton
|
||||
|
||||
Reference in New Issue
Block a user