This commit is contained in:
seb
2026-10-15 00:08:21 +02:00
parent 002f63a47a
commit 7ce2e3216f
2 changed files with 5 additions and 3 deletions

View File

@@ -133,7 +133,7 @@ class AppSidebar extends PureComponent {
borderRadius: { xs: 1, lg: 0 },
width: { xs: 'auto', lg: '100%' },
height: { xs: '100%', lg: 'auto' },
px: { xs: active ? 1.25 : 1, sm: active ? 1.5 : 1.25, md: 1.5 },
px: { xs: active ? 1.25 : 1, sm: active ? 1.5 : 1.25, md: 1.5, lg: 1.25 },
py: { xs: 0.75, sm: 1, lg: 1.25 },
borderLeft: { xs: 'none', lg: '3px solid transparent' },
borderBottom: { xs: '3px solid transparent', lg: 'none' },
@@ -142,9 +142,9 @@ class AppSidebar extends PureComponent {
flexShrink: 0,
'& .MuiListItemIcon-root': {
color: 'inherit',
minWidth: { xs: 'auto', lg: 36 },
minWidth: { xs: 'auto', lg: 32 },
mr: active ? { xs: 0.75, lg: 0 } : { xs: 0, md: 0.75, lg: 0 },
justifyContent: 'center',
justifyContent: { xs: 'center', lg: 'flex-start' },
},
'&:hover': {
bgcolor: theme.nav.itemHover,