Răsfoiți Sursa

enhance(mobile): tweak panel height

leizhe 3 ani în urmă
părinte
comite
5b552b08a7

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

@@ -1,6 +1,6 @@
 .cp__palette {
   --palettle-input-height: 64px;
-  --palettle-container-height: 70vh;
+  --palettle-container-height: 75vh;
 
   &-main {
     max-height: var(--palettle-container-height);

+ 2 - 1
src/main/frontend/ui.cljs

@@ -557,8 +557,9 @@
     [:div.ui__modal
      {:style {:z-index (if show? 9999 -1)
               :top (when (or (mobile-util/native-iphone?)
+                             (mobile-util/native-android?)
                              (and (util/mobile?) (util/ios?)))
-                     60)}}
+                     "22vh")}}
      (css-transition
       {:in show? :timeout 0}
       (fn [state]