mirror of https://github.com/ColorlibHQ/AdminLTE
fixed layout-fixed correct sidebar height to vh instead of %
parent
b1c99c8963
commit
0238015f5e
|
@ -33,6 +33,13 @@ body,
|
|||
}
|
||||
}
|
||||
|
||||
.layout-fixed & .sidebar {
|
||||
height: calc(100vh - (#{$main-header-height-inner} + #{$main-header-bottom-border-width}));
|
||||
}
|
||||
.layout-fixed.text-sm & .sidebar {
|
||||
height: calc(100vh - (#{$main-header-height-sm-inner} + #{$main-header-bottom-border-width}));
|
||||
}
|
||||
|
||||
.layout-navbar-fixed.layout-fixed & {
|
||||
.control-sidebar {
|
||||
top: $main-header-height;
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
}
|
||||
|
||||
.sidebar {
|
||||
height: calc(100% - 4rem);
|
||||
height: calc(100% - (#{$main-header-height-inner} + #{$main-header-bottom-border-width}));
|
||||
overflow-y: auto;
|
||||
padding-bottom: $sidebar-padding-y;
|
||||
padding-left: $sidebar-padding-x;
|
||||
|
|
|
@ -10128,6 +10128,14 @@ body,
|
|||
left: inherit;
|
||||
}
|
||||
|
||||
.layout-fixed .wrapper .sidebar {
|
||||
height: calc(100vh - (3.5rem + 1px));
|
||||
}
|
||||
|
||||
.layout-fixed.text-sm .wrapper .sidebar {
|
||||
height: calc(100vh - (2.93725rem + 1px));
|
||||
}
|
||||
|
||||
.layout-navbar-fixed.layout-fixed .wrapper .control-sidebar {
|
||||
top: calc(3.5rem + 1px);
|
||||
}
|
||||
|
@ -11621,7 +11629,7 @@ body.sidebar-collapse:not(.sidebar-mini-md):not(.sidebar-mini) .main-header::bef
|
|||
}
|
||||
|
||||
.sidebar {
|
||||
height: calc(100% - 4rem);
|
||||
height: calc(100% - (3.5rem + 1px));
|
||||
overflow-y: auto;
|
||||
padding-bottom: 0;
|
||||
padding-left: 0.5rem;
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue