Browse Source

fix(iPhone): notification position

leizhe 3 years ago
parent
commit
6a151937d7
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/main/frontend/components/header.css

+ 4 - 0
src/main/frontend/components/header.css

@@ -276,6 +276,10 @@ html.is-native-iphone {
         }
     }
     
+    .ui__notifications {
+        top: calc(var(--ls-headbar-height) + var(--ls-headbar-inner-top-padding) - 0.3rem);
+    }
+    
     @media (orientation: landscape) {
         --ls-headbar-inner-top-padding: 8px;
         --ls-headbar-height: 2.5rem;