mirror of https://github.com/ColorlibHQ/AdminLTE
fixed sidebar overlapping toolbar on mobile safari
parent
67174b5c6b
commit
c6b1b4f586
|
@ -33,11 +33,13 @@ body,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.layout-fixed & .sidebar {
|
@supports not (-webkit-touch-callout: none) {
|
||||||
height: calc(100vh - (#{$main-header-height-inner} + #{$main-header-bottom-border-width}));
|
.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-fixed.text-sm & .sidebar {
|
||||||
|
height: calc(100vh - (#{$main-header-height-sm-inner} + #{$main-header-bottom-border-width}));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.layout-navbar-fixed.layout-fixed & {
|
.layout-navbar-fixed.layout-fixed & {
|
||||||
|
@ -566,6 +568,14 @@ body:not(.sidebar-mini-md) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@supports (-webkit-touch-callout: none) {
|
||||||
|
.layout-fixed {
|
||||||
|
.main-sidebar {
|
||||||
|
height: inherit;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.main-footer {
|
.main-footer {
|
||||||
background: $main-footer-bg;
|
background: $main-footer-bg;
|
||||||
border-top: $main-footer-border-top;
|
border-top: $main-footer-border-top;
|
||||||
|
|
Loading…
Reference in New Issue