mirror of https://github.com/ColorlibHQ/AdminLTE
sidebar bug fixed
parent
6b33ce3367
commit
36ad20e175
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue