From 649a31636105e09880db8986ace88b910fbdc09c Mon Sep 17 00:00:00 2001 From: Omar Basem Date: Thu, 16 May 2024 19:39:30 +0400 Subject: [PATCH] fix: address input multiline (#19962) fix: address input multiline (#19962) --- src/quo/components/inputs/address_input/style.cljs | 13 ++++++------- src/quo/components/inputs/address_input/view.cljs | 1 + 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/quo/components/inputs/address_input/style.cljs b/src/quo/components/inputs/address_input/style.cljs index 2bd9e6dbe9..1f716b1073 100644 --- a/src/quo/components/inputs/address_input/style.cljs +++ b/src/quo/components/inputs/address_input/style.cljs @@ -9,20 +9,18 @@ (merge {:padding-horizontal 20 :padding-top 8 :padding-bottom 16 - :height 48 :flex-direction :row :align-items :flex-start} container-style)) (def buttons-container {:flex-direction :row - :align-items :center - :padding-top (when platform/android? 2)}) + :align-items :flex-start}) (def clear-icon-container - {:justify-content :center + {:justify-content :flex-start :align-items :center - :padding-top (if platform/ios? 6 2) + :padding-top (when platform/ios? 4) :height 24 :width 20}) @@ -33,9 +31,10 @@ nil) :flex 1 :color (colors/theme-colors colors/neutral-100 colors/white theme) - :margin-top (if platform/ios? 0 -4) + :margin-top -4 :margin-right 8 - :height (if platform/ios? 24 40))) + :max-height 50 + :padding 0)) (defn accessory-button [blur? theme] diff --git a/src/quo/components/inputs/address_input/view.cljs b/src/quo/components/inputs/address_input/view.cljs index 43cda6a4ee..85391b2cf9 100644 --- a/src/quo/components/inputs/address_input/view.cljs +++ b/src/quo/components/inputs/address_input/view.cljs @@ -128,6 +128,7 @@ :auto-capitalize :none :auto-correct false :spell-check false + :multiline true :keyboard-appearance theme :on-focus on-focus :on-blur on-blur