From 77785961c969b0b445b4abd8d9d627f7b50b6dd3 Mon Sep 17 00:00:00 2001 From: Vitaliy Vlasov Date: Mon, 7 Oct 2019 18:59:11 +0300 Subject: [PATCH] Adjust select-key-storage on smaller screens --- src/status_im/ui/screens/intro/views.cljs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/status_im/ui/screens/intro/views.cljs b/src/status_im/ui/screens/intro/views.cljs index ed617507a2d6..d80c44a99fe5 100644 --- a/src/status_im/ui/screens/intro/views.cljs +++ b/src/status_im/ui/screens/intro/views.cljs @@ -124,7 +124,6 @@ (defn choose-key [{:keys [multiaccounts selected-id view-height]}] [react/scroll-view {:content-container-style {:flex 1 - :flex-grow 1 :justify-content :flex-end ;; We have to align top multiaccount entry ;; with top key storage entry on the next screen @@ -204,9 +203,9 @@ :justify-content :flex-end ;; We have to align top storage entry ;; with top multiaccount entry on the previous screen - :margin-bottom (+ (- 322 226) (if (< view-height 600) - -20 - (/ view-height 12)))}} + :margin-bottom (if (< view-height 600) + 40 + (+ (- 322 226) (/ view-height 12)))}} [storage-entry (first storage-types) selected-storage-type] [react/view {:style {:min-height 16 :max-height 16}}] [storage-entry (second storage-types) selected-storage-type]]))