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,7 +109,8 @@ td {
padding: 6px 5px 6px 41px; padding: 6px 5px 6px 41px;
} }
@media screen and (orientation: landscape) { @supports (padding-left: max(15px, 0px)) {
@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));
} }
@ -121,6 +122,7 @@ td {
.main-sidebar ul.sidebar-menu > li.treeview > ul.treeview-menu > li > a { .main-sidebar ul.sidebar-menu > li.treeview > ul.treeview-menu > li > a {
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 {