sidebar bug fixed

pull/5186/head
Daniel 2023-06-11 20:32:52 +05:30 committed by REJack
parent 6b33ce3367
commit 36ad20e175
1 changed files with 6 additions and 1 deletions

View File

@ -466,10 +466,11 @@
} }
.app-sidebar { .app-sidebar {
position: sticky; position: fixed;
top: 0; top: 0;
bottom: 0; bottom: 0;
max-height: 100vh; max-height: 100vh;
margin-left: calc(var(--#{$lte-prefix}sidebar-width) * -1); // stylelint-disable-line function-disallowed-list
.sidebar-wrapper { .sidebar-wrapper {
height: subtract(100vh, add($lte-app-header-height, 1px)); height: subtract(100vh, add($lte-app-header-height, 1px));
@ -477,6 +478,10 @@
} }
&.sidebar-open { &.sidebar-open {
.app-sidebar {
margin-left: 0;
}
.sidebar-overlay { .sidebar-overlay {
position: absolute; position: absolute;
inset: 0; inset: 0;