Browse Source

fix(ui): headerbar position on iPhone14x

charlie 3 years ago
parent
commit
fb42464300
2 changed files with 3 additions and 1 deletions
  1. 1 1
      src/main/frontend/components/header.css
  2. 2 0
      src/main/frontend/mobile/util.cljs

+ 1 - 1
src/main/frontend/components/header.css

@@ -313,7 +313,7 @@ html.is-native-ipad {
 }
 
 html.is-native-iphone {
-  --ls-headbar-inner-top-padding: 36px;
+  --ls-headbar-inner-top-padding: 38px;
 
   .left-sidebar-inner {
     .create {

+ 2 - 0
src/main/frontend/mobile/util.cljs

@@ -51,6 +51,8 @@
          [414 896] "iPhone11"
          [428 926] "iPhone13ProMax"
          [476 847] "iPhone7Plus"
+         [393 852] "iPhone14Pro"
+         [430 932] "iPhone14ProMax"
          [744 1133] "iPadmini8.3"
          [768 1024] "iPad9.7"
          [810 1080] "iPad10.2"