[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
|
(def container
|
||||||
{:flex 1})
|
{:flex 1})
|
||||||
|
|
||||||
(def page-top
|
|
||||||
{:padding-vertical 12
|
|
||||||
:padding-horizontal screen-horizontal-padding})
|
|
||||||
|
|
||||||
(def section-title
|
(def section-title
|
||||||
{:padding-top 12
|
{:padding-top 12
|
||||||
:padding-bottom 4
|
:padding-bottom 4
|
||||||
|
@ -18,11 +14,6 @@
|
||||||
|
|
||||||
(defn bottom-actions
|
(defn bottom-actions
|
||||||
[]
|
[]
|
||||||
{:position :absolute
|
{:padding-top 12
|
||||||
:background-color (colors/theme-colors colors/white colors/neutral-95)
|
|
||||||
:bottom 0
|
|
||||||
:left 0
|
|
||||||
:right 0
|
|
||||||
:padding-horizontal screen-horizontal-padding
|
:padding-horizontal screen-horizontal-padding
|
||||||
:padding-vertical 12
|
:background-color (colors/theme-colors colors/white colors/neutral-95)})
|
||||||
:flex 1})
|
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
highest-role-text (i18n/label (communities.utils/role->translation-key
|
highest-role-text (i18n/label (communities.utils/role->translation-key
|
||||||
highest-permission-role
|
highest-permission-role
|
||||||
:t/member))]
|
:t/member))]
|
||||||
[rn/view {:style style/container}
|
[rn/safe-area-view {:style style/container}
|
||||||
[quo/page-nav
|
[quo/page-nav
|
||||||
{:text-align :left
|
{:text-align :left
|
||||||
:icon-name :i/close
|
:icon-name :i/close
|
||||||
|
|
|
@ -3,5 +3,6 @@
|
||||||
(def community-rule
|
(def community-rule
|
||||||
{:flex 1
|
{:flex 1
|
||||||
:align-items :flex-start
|
:align-items :flex-start
|
||||||
:padding-vertical 8
|
:padding-top 8
|
||||||
|
:margin-bottom 12
|
||||||
:padding-horizontal 20})
|
:padding-horizontal 20})
|
||||||
|
|
Loading…
Reference in New Issue