This commit is contained in:
seb
2026-10-08 19:53:01 +02:00
parent e93e61cfcf
commit 930bd33072
6 changed files with 87 additions and 5 deletions

View File

@@ -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"