fix incorrect style in some old browsers
This commit is contained in:
parent
2a3748d2d4
commit
ba8176e150
|
@ -109,17 +109,19 @@ td {
|
||||||
padding: 6px 5px 6px 41px;
|
padding: 6px 5px 6px 41px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (orientation: landscape) {
|
@supports (padding-left: max(15px, 0px)) {
|
||||||
.main-sidebar ul.sidebar-menu > li.header {
|
@media screen and (orientation: landscape) {
|
||||||
padding-left: max(15px, env(safe-area-inset-left));
|
.main-sidebar ul.sidebar-menu > li.header {
|
||||||
}
|
padding-left: max(15px, env(safe-area-inset-left));
|
||||||
|
}
|
||||||
|
|
||||||
.main-sidebar ul.sidebar-menu > li > a {
|
.main-sidebar ul.sidebar-menu > li > a {
|
||||||
padding-left: max(15px, env(safe-area-inset-left));
|
padding-left: max(15px, env(safe-area-inset-left));
|
||||||
}
|
}
|
||||||
|
|
||||||
.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)));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue