Token gated documentation drawer ui fix (#19394)
This commit is contained in:
parent
aeef913f63
commit
681bcbf726
|
@ -12,8 +12,9 @@
|
||||||
:padding-horizontal 20})
|
:padding-horizontal 20})
|
||||||
|
|
||||||
(def content
|
(def content
|
||||||
{:margin-top 8
|
{:align-items :flex-start
|
||||||
:margin-bottom (+ (safe-area/get-bottom) 8)})
|
:margin-top 8
|
||||||
|
:margin-bottom (+ (safe-area/get-bottom) 12)})
|
||||||
|
|
||||||
(defn title
|
(defn title
|
||||||
[theme]
|
[theme]
|
||||||
|
|
|
@ -30,15 +30,16 @@
|
||||||
:weight :semi-bold}
|
:weight :semi-bold}
|
||||||
title]
|
title]
|
||||||
[rn/view {:style style/content :accessibility-label :documentation-drawer-content}
|
[rn/view {:style style/content :accessibility-label :documentation-drawer-content}
|
||||||
content]
|
content
|
||||||
(when show-button?
|
(when show-button?
|
||||||
[button/button
|
[button/button
|
||||||
{:size 24
|
{:size 24
|
||||||
:type :outline
|
:type :outline
|
||||||
:background (when shell? :blur)
|
:container-style {:margin-top 16}
|
||||||
:on-press on-press-button
|
:background (when shell? :blur)
|
||||||
:accessibility-label :documentation-drawer-button
|
:on-press on-press-button
|
||||||
:icon-right button-icon}
|
:accessibility-label :documentation-drawer-button
|
||||||
button-label])]])
|
:icon-right button-icon}
|
||||||
|
button-label])]]])
|
||||||
|
|
||||||
(def view (quo.theme/with-theme view-internal))
|
(def view (quo.theme/with-theme view-internal))
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
:show-button? true
|
:show-button? true
|
||||||
:button-label (i18n/label :t/read-more)
|
:button-label (i18n/label :t/read-more)
|
||||||
:button-icon :info}
|
:button-icon :info}
|
||||||
[quo/text (i18n/label :t/token-gated-communities-info)]])}])}
|
[quo/text {:size :paragraph-2} (i18n/label :t/token-gated-communities-info)]])}])}
|
||||||
[rn/view
|
[rn/view
|
||||||
[quo/icon :i/info {:color (colors/theme-colors colors/neutral-50 colors/neutral-40 theme)}]]]))
|
[quo/icon :i/info {:color (colors/theme-colors colors/neutral-50 colors/neutral-40 theme)}]]]))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue