Browse Source

fix(iOS): search ac window jump

leizhe 3 years ago
parent
commit
d254b3acbe
2 changed files with 10 additions and 9 deletions
  1. 0 4
      src/main/frontend/components/header.css
  2. 10 5
      src/main/frontend/ui.css

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

@@ -260,10 +260,6 @@ 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 {

+ 10 - 5
src/main/frontend/ui.css

@@ -138,16 +138,21 @@
   }
   }
 }
 }
 
 
+html.is-native-ios,
+html.is-native-android {
+    .ui__modal {
+        &-panel {
+            min-height: 420px;
+        }
+    }
+}
+
 html.is-native-andorid,
 html.is-native-andorid,
 html.is-native-iphone,
 html.is-native-iphone,
 html.is-native-iphone-without-notch
 html.is-native-iphone-without-notch
 {
 {
-    .ui__modal {
-        top: 10vh;
-    }
-
     .references .foldable-title {
     .references .foldable-title {
-        margin-left: 4px
+        margin-left: 0px
     }
     }
 
 
     .cards-review .block-control {
     .cards-review .block-control {