diff --git a/src/quo2/components/inputs/input/view.cljs b/src/quo2/components/inputs/input/view.cljs index a5771429dd4..fc869bb5752 100644 --- a/src/quo2/components/inputs/input/view.cljs +++ b/src/quo2/components/inputs/input/view.cljs @@ -84,7 +84,7 @@ colors-by-status (style/status-colors status-kw blur? theme) variant-colors (style/variants-colors blur? theme) clean-props (apply dissoc props custom-props)] - [rn/view {:style {:flex 1}} + [rn/view {:style container-style} (when (or label char-limit) [label-&-counter {:variant-colors variant-colors @@ -92,7 +92,7 @@ :current-chars @char-count :char-limit char-limit}]) [rn/view - {:style (merge (style/input-container colors-by-status small? disabled?) container-style)} + {:style (style/input-container colors-by-status small? disabled?)} (when-let [{:keys [icon-name]} left-icon] [left-accessory {:variant-colors variant-colors diff --git a/src/quo2/components/inputs/profile_input/view.cljs b/src/quo2/components/inputs/profile_input/view.cljs index fe8d9f96206..d9c9923b5dd 100644 --- a/src/quo2/components/inputs/profile_input/view.cljs +++ b/src/quo2/components/inputs/profile_input/view.cljs @@ -49,5 +49,6 @@ [title-input/view (merge title-input-props {:blur? true + :size :heading-2 :placeholder placeholder :customization-color customization-color})]]])) diff --git a/src/quo2/components/inputs/title_input/view.cljs b/src/quo2/components/inputs/title_input/view.cljs index 04fd0b76064..8f7f7aacd64 100644 --- a/src/quo2/components/inputs/title_input/view.cljs +++ b/src/quo2/components/inputs/title_input/view.cljs @@ -20,6 +20,7 @@ placeholder max-length default-value + size theme container-style] :or {max-length 0 @@ -39,7 +40,7 @@ [rn/text-input {:style (text/text-style - {:size :heading-1 + {:size (or size :heading-1) :weight :semi-bold :style (style/title-text theme)}) :default-value default-value diff --git a/src/status_im2/contexts/wallet/address_watch/view.cljs b/src/status_im2/contexts/wallet/address_watch/view.cljs index effa520bbf3..d978a75a5a5 100644 --- a/src/status_im2/contexts/wallet/address_watch/view.cljs +++ b/src/status_im2/contexts/wallet/address_watch/view.cljs @@ -34,7 +34,8 @@ :button {:on-press (fn [] (clipboard/get-string #(reset! input-value %))) :text (i18n/label :t/paste)} :placeholder (str "0x123abc... " (string/lower-case (i18n/label :t/or)) " bob.eth") - :container-style {:margin-right 12} + :container-style {:margin-right 12 + :flex 1} :weight :monospace :on-change #(reset! input-value %) :default-value @input-value}]