feat: sidebar for mobiles
This commit is contained in:
@@ -90,4 +90,20 @@
|
||||
|
||||
/* ---------- DSP ---------- */
|
||||
--dsp-control-heigth: 40%;
|
||||
|
||||
/* ---------- Mobile ---------- */
|
||||
--safe-top: env(safe-area-inset-top, 0px);
|
||||
--safe-bottom: env(safe-area-inset-bottom, 0px);
|
||||
--safe-left: env(safe-area-inset-left, 0px);
|
||||
--safe-right: env(safe-area-inset-right, 0px);
|
||||
--topbar-h: calc(var(--header-height) + var(--safe-top));
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
:root {
|
||||
--header-height: 56px;
|
||||
--tab-height: 40px;
|
||||
--sidebar-width-collapsed: 56px;
|
||||
--sidebar-width-expanded: min(80vw, 280px);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user