This commit is contained in:
seb
2026-08-06 00:40:27 +02:00
parent d8b48d96e1
commit 1e0fedca3d
2 changed files with 24 additions and 1 deletions

View File

@@ -27,6 +27,10 @@ class AppSidebar extends PureComponent {
display: 'flex',
flexDirection: 'column',
bgcolor: theme.nav.background,
position: 'sticky',
top: 0,
alignSelf: 'flex-start',
height: '100vh',
})}
>
<List disablePadding sx={{ flexGrow: 1 }}>
@@ -107,6 +111,10 @@ class AppSubNav extends PureComponent {
flexDirection: 'column',
alignItems: 'center',
gap: 1,
position: 'sticky',
top: 0,
alignSelf: 'flex-start',
py: 4,
}}
>
{subNav.map(({ segment, label, icon: Icon }) => {