[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:
parent
456ccb4c69
commit
bfed36d19f
|
@ -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)})
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue