[Communities] Account selection: сan't see the entire text of the community rules (#18761)

Resolved the scrolling issue pertaining to community rules. Additionally, will ensure compatibility with iOS devices lacking safe-area-view in the follow-up.
This commit is contained in:
Flavio Fraschetti 2024-02-18 08:03:52 -03:00 committed by GitHub
parent 456ccb4c69
commit bfed36d19f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 13 deletions

View File

@ -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)})

View File

@ -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

View File

@ -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})