fix Zoom Display issue on iOS (#5404)

This commit is contained in:
llcc
2022-05-24 17:43:35 +08:00
committed by GitHub
parent b425746ccd
commit 6b4726463c
7 changed files with 82 additions and 2 deletions

View File

@@ -339,3 +339,16 @@ html.is-native-iphone-without-notch {
}
}
}
html.is-zoomed-native-ios {
--ls-headbar-inner-top-padding: 30px;
@media (orientation: landscape) {
--ls-headbar-inner-top-padding: 8px;
--ls-headbar-height: 2.5rem;
.cp__header {
@apply shadow z-10;
}
}
}