u
This commit is contained in:
@@ -71,7 +71,7 @@ class AppSidebar extends PureComponent {
|
||||
position: 'sticky',
|
||||
top: 0,
|
||||
alignSelf: 'flex-start',
|
||||
height: '100vh',
|
||||
height: 'var(--df-vh, 100vh)',
|
||||
})}
|
||||
>
|
||||
<List disablePadding sx={{ flexGrow: 1 }}>
|
||||
@@ -294,7 +294,7 @@ export default function AppShell() {
|
||||
const activeSub = activeNav ? resolveActiveSub(pathname, activeNav) : null;
|
||||
|
||||
return (
|
||||
<Box sx={{ display: 'flex', minHeight: '100vh', bgcolor: 'background.default' }}>
|
||||
<Box sx={{ display: 'flex', minHeight: 'var(--df-vh, 100vh)', bgcolor: 'background.default' }}>
|
||||
<AppSidebar activeNav={activeNav} navigate={navigate} />
|
||||
<Box
|
||||
component="main"
|
||||
|
||||
Reference in New Issue
Block a user