fix(iOS): tweak setting panel css

pull/3822/head^2
leizhe 2022-01-06 23:16:18 +08:00 committed by Tienson Qin
parent c1a57b41c9
commit 86c7e6310a
3 changed files with 29 additions and 9 deletions

View File

@ -268,6 +268,10 @@ html.is-native-ipad {
.cp__right-sidebar-topbar { .cp__right-sidebar-topbar {
padding-top: 37px; padding-top: 37px;
} }
.ui__modal {
top: 20vh;
}
} }
html.is-native-iphone { html.is-native-iphone {
@ -284,7 +288,7 @@ html.is-native-iphone {
} }
#main-container { #main-container {
padding-top: 75px; padding-top: 83px;
} }
@media (orientation: landscape) { @media (orientation: landscape) {
@ -296,11 +300,7 @@ html.is-native-iphone {
} }
#main-container { #main-container {
padding-top: 20px; padding-top: 45px;
}
#main-content{
padding-top: 0px;
} }
} }
} }
@ -310,6 +310,10 @@ html.is-native-iphone-without-notch {
--ls-headbar-inner-top-padding: 15px; --ls-headbar-inner-top-padding: 15px;
--ls-headbar-height: 2.5rem; --ls-headbar-height: 2.5rem;
#main-container {
padding-top: 55px;
}
@media (orientation: landscape) { @media (orientation: landscape) {
--ls-headbar-inner-top-padding: 0px; --ls-headbar-inner-top-padding: 0px;
@ -320,7 +324,7 @@ html.is-native-iphone-without-notch {
} }
#main-container { #main-container {
padding-top: 20px; padding-top: 40px;
} }
} }
} }

View File

@ -255,6 +255,21 @@
margin-right: 4px; margin-right: 4px;
} }
html.is-native-android,
html.is-native-iphone,
html.is-native-iphone-without-notch {
.cp__settings-inner {
> article {
padding-bottom: 0px;
}
.panel-wrap {
padding-bottom: 0px;
}
}
}
svg.git { svg.git {
margin-left: -4px; margin-left: -4px;
transform: scale(0.9); transform: scale(0.9);

View File

@ -139,10 +139,11 @@
} }
html.is-native-andorid, html.is-native-andorid,
html.is-native-iphone html.is-native-iphone,
html.is-native-iphone-without-notch
{ {
.ui__modal { .ui__modal {
top: 22vh; top: 10vh;
} }
.references .foldable-title { .references .foldable-title {