From bfed36d19f89ad196f4089526ee33f5e822c6f9c Mon Sep 17 00:00:00 2001 From: Flavio Fraschetti Date: Sun, 18 Feb 2024 08:03:52 -0300 Subject: [PATCH] =?UTF-8?q?[Communities]=20Account=20selection:=20=D1=81an?= =?UTF-8?q?'t=20see=20the=20entire=20text=20of=20the=20community=20rules?= =?UTF-8?q?=20(#18761)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolved the scrolling issue pertaining to community rules. Additionally, will ensure compatibility with iOS devices lacking safe-area-view in the follow-up. --- .../actions/accounts_selection/style.cljs | 13 ++----------- .../actions/accounts_selection/view.cljs | 2 +- .../communities/actions/community_rules/style.cljs | 3 ++- 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/src/status_im/contexts/communities/actions/accounts_selection/style.cljs b/src/status_im/contexts/communities/actions/accounts_selection/style.cljs index 19fffacaff..7968f2815b 100644 --- a/src/status_im/contexts/communities/actions/accounts_selection/style.cljs +++ b/src/status_im/contexts/communities/actions/accounts_selection/style.cljs @@ -7,10 +7,6 @@ (def container {:flex 1}) -(def page-top - {:padding-vertical 12 - :padding-horizontal screen-horizontal-padding}) - (def section-title {:padding-top 12 :padding-bottom 4 @@ -18,11 +14,6 @@ (defn bottom-actions [] - {:position :absolute - :background-color (colors/theme-colors colors/white colors/neutral-95) - :bottom 0 - :left 0 - :right 0 + {:padding-top 12 :padding-horizontal screen-horizontal-padding - :padding-vertical 12 - :flex 1}) + :background-color (colors/theme-colors colors/white colors/neutral-95)}) diff --git a/src/status_im/contexts/communities/actions/accounts_selection/view.cljs b/src/status_im/contexts/communities/actions/accounts_selection/view.cljs index 8c8100d2a0..853e11c347 100644 --- a/src/status_im/contexts/communities/actions/accounts_selection/view.cljs +++ b/src/status_im/contexts/communities/actions/accounts_selection/view.cljs @@ -28,7 +28,7 @@ highest-role-text (i18n/label (communities.utils/role->translation-key highest-permission-role :t/member))] - [rn/view {:style style/container} + [rn/safe-area-view {:style style/container} [quo/page-nav {:text-align :left :icon-name :i/close diff --git a/src/status_im/contexts/communities/actions/community_rules/style.cljs b/src/status_im/contexts/communities/actions/community_rules/style.cljs index 6a2b39621d..1deb6960e7 100644 --- a/src/status_im/contexts/communities/actions/community_rules/style.cljs +++ b/src/status_im/contexts/communities/actions/community_rules/style.cljs @@ -3,5 +3,6 @@ (def community-rule {:flex 1 :align-items :flex-start - :padding-vertical 8 + :padding-top 8 + :margin-bottom 12 :padding-horizontal 20})