浏览代码

fix weird top-padding when editing on iPhone

leizhe 3 年之前
父节点
当前提交
6b9df7530a
共有 2 个文件被更改,包括 1 次插入10 次删除
  1. 1 1
      src/main/frontend/components/header.css
  2. 0 9
      src/main/frontend/ui.css

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

@@ -209,7 +209,7 @@ html.is-native-ipad {
 
     #main-content-container {
         padding-top: 0px;
-        height: calc(100vh - var(--ls-headbar-height));
+        height: calc(100vh - var(--ls-headbar-inner-top-padding) - var(--ls-headbar-height));
     }
     
     .cp__header > .r {

+ 0 - 9
src/main/frontend/ui.css

@@ -138,15 +138,6 @@
   }
 }
 
-html.is-native-ios,
-html.is-native-android {
-    .ui__modal {
-        &-panel {
-            min-height: 420px;
-        }
-    }
-}
-
 html.is-native-andorid,
 html.is-native-iphone,
 html.is-native-iphone-without-notch