Fix: Sidebar-Drawer transform:translateX statt left (kein Konflikt mit base-rule)

This commit is contained in:
rene 2026-04-14 16:54:29 +02:00
parent 2ff439a4e3
commit 01081fcd75
2 changed files with 6 additions and 9 deletions

View file

@ -121,16 +121,13 @@
/* Mobile Sidebar als Drawer */ /* Mobile Sidebar als Drawer */
@media (max-width: 767px) { @media (max-width: 767px) {
#sidebar { #sidebar {
display: flex; display: flex;
position: fixed; z-index: 500;
left: calc(-1 * var(--nav-sidebar-width)); transform: translateX(-100%);
top: 0; transition: transform 0.28s ease;
bottom: 0;
z-index: 500;
transition: left 0.28s ease;
} }
#sidebar.open { #sidebar.open {
left: 0; transform: translateX(0);
} }
} }

View file

@ -3,7 +3,7 @@
Offline-Cache + Push Notifications Offline-Cache + Push Notifications
============================================================ */ ============================================================ */
const CACHE_VERSION = 'by-v26'; const CACHE_VERSION = 'by-v27';
const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_STATIC = `${CACHE_VERSION}-static`;
// Diese Dateien werden beim Install gecacht (App Shell) // Diese Dateien werden beim Install gecacht (App Shell)