fix(iPad): weird status bar height when splitting screen

This commit is contained in:
leizhe
2021-12-22 17:22:03 +08:00
committed by Tienson Qin
parent 59d9fac5db
commit 1b9cecd180
3 changed files with 12 additions and 9 deletions

View File

@@ -173,8 +173,11 @@ a.button {
cursor: default !important;
}
html.is-native-ios,
html.is-native-ipad,
html.is-ios.is-safari {
--ls-headbar-inner-top-padding: 0px;
--ls-headbar-height: 4rem;
#main-container {
padding-top: 20px;
}
@@ -189,7 +192,7 @@ html.is-ios.is-safari {
}
}
html.is-ios {
html.is-native-iphone {
--ls-headbar-inner-top-padding: 36px;
.cp__header > .r {
@@ -197,9 +200,7 @@ html.is-ios {
}
@screen sm {
--ls-headbar-inner-top-padding: 0px;
--ls-headbar-height: 4rem;
.cp__header {
background-color: transparent !important;
display: flex;
@@ -244,4 +245,4 @@ html.is-ios {
margin-top: 8px;
}
}
}
}