Fix: Sidebar-Drawer transform:translateX statt left (kein Konflikt mit base-rule)
This commit is contained in:
parent
2ff439a4e3
commit
01081fcd75
2 changed files with 6 additions and 9 deletions
|
|
@ -121,16 +121,13 @@
|
|||
/* Mobile Sidebar als Drawer */
|
||||
@media (max-width: 767px) {
|
||||
#sidebar {
|
||||
display: flex;
|
||||
position: fixed;
|
||||
left: calc(-1 * var(--nav-sidebar-width));
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
z-index: 500;
|
||||
transition: left 0.28s ease;
|
||||
display: flex;
|
||||
z-index: 500;
|
||||
transform: translateX(-100%);
|
||||
transition: transform 0.28s ease;
|
||||
}
|
||||
#sidebar.open {
|
||||
left: 0;
|
||||
transform: translateX(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue