feat: sidebar for mobiles

This commit is contained in:
Lucas
2026-10-26 15:27:04 +01:00
parent cb34e5ef41
commit 845b23cf21
7 changed files with 184 additions and 9 deletions
@@ -2,7 +2,7 @@
position: fixed;
left: var(--sidebar-width-collapsed);
right: 0;
top: var(--header-height);
top: var(--topbar-h, var(--header-height));
bottom: 0;
display: flex;
@@ -21,7 +21,7 @@
position: fixed;
left: var(--sidebar-width-collapsed);
right: 0;
top: var(--header-height, 0);
top: var(--topbar-h, var(--header-height));
bottom: 0;
transition: left var(--dur-base) var(--ease-standard);
}
@@ -35,3 +35,19 @@
width: 100%;
height: 100%;
}
.sidebar-backdrop {
display: none;
}
@media (max-width: 768px) {
.dsp-content,
.dsp-loading-overlay,
.app-root:has(.sidebar-rail--expanded) .dsp-content,
.app-root:has(.sidebar-rail--expanded) .dsp-loading-overlay {
top: var(--topbar-h);
bottom: var(--safe-bottom);
left: calc(var(--sidebar-width-collapsed) + var(--safe-left));
right: var(--safe-right);
}
}