fix incorrect style in some old browsers

This commit is contained in:
MaysWind 2021-02-16 12:36:16 +08:00
parent 2a3748d2d4
commit ba8176e150

View file

@ -109,6 +109,7 @@ td {
padding: 6px 5px 6px 41px; padding: 6px 5px 6px 41px;
} }
@supports (padding-left: max(15px, 0px)) {
@media screen and (orientation: landscape) { @media screen and (orientation: landscape) {
.main-sidebar ul.sidebar-menu > li.header { .main-sidebar ul.sidebar-menu > li.header {
padding-left: max(15px, env(safe-area-inset-left)); padding-left: max(15px, env(safe-area-inset-left));
@ -122,6 +123,7 @@ td {
padding-left: max(41px, calc(26px + env(safe-area-inset-left))); padding-left: max(41px, calc(26px + env(safe-area-inset-left)));
} }
} }
}
.content-wrapper { .content-wrapper {
min-height: calc(100vh - 48px); min-height: calc(100vh - 48px);