diff --git a/src/status_im/contexts/onboarding/intro/style.cljs b/src/status_im/contexts/onboarding/intro/style.cljs index 5e21e4b041..5350bb950f 100644 --- a/src/status_im/contexts/onboarding/intro/style.cljs +++ b/src/status_im/contexts/onboarding/intro/style.cljs @@ -7,15 +7,19 @@ :justify-content :flex-end}) (def text-container - {:flex 1 - :flex-direction :row - :flex-wrap :wrap - :align-self :center}) + {:flex-direction :row + :flex-wrap :wrap}) + +(def text-aligner + {:flex 1 + :flex-direction :row + :justify-content :center}) (def terms-privacy-container - {:gap 8 + {:flex-direction :row :padding-horizontal 20 - :padding-vertical 8}) + :padding-vertical 8 + :gap 8}) (def plain-text {:color colors/white-opa-70}) diff --git a/src/status_im/contexts/onboarding/intro/view.cljs b/src/status_im/contexts/onboarding/intro/view.cljs index 418cfa0f6e..47fe9e309f 100644 --- a/src/status_im/contexts/onboarding/intro/view.cljs +++ b/src/status_im/contexts/onboarding/intro/view.cljs @@ -21,8 +21,7 @@ :actions :two-vertical-actions :description :top :description-top-text [rn/view - {:style style/terms-privacy-container - :flex-direction :row} + {:style style/terms-privacy-container} [rn/view {:accessibility-label :terms-privacy-checkbox-container} [quo/selectors @@ -30,7 +29,7 @@ :blur? true :checked? terms-accepted? :on-change #(set-terms-accepted? not)}]] - [rn/view {:style {:flex 1}} + [rn/view {:style style/text-aligner} [rn/view {:style style/text-container} [quo/text {:style style/plain-text @@ -47,7 +46,7 @@ [quo/text {:style style/plain-text :size :paragraph-2} - " & "] + " " (i18n/label :t/and) " "] [quo/text {:on-press #(rf/dispatch [:show-bottom-sheet {:content (fn [] [privacy/privacy-statement])