feat: sidebar for mobiles
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user