u
This commit is contained in:
@@ -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 }) => {
|
||||
|
||||
Reference in New Issue
Block a user