Skip to content

Commit

Permalink
fix: token requirements margin issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jo-mut authored Mar 30, 2024
1 parent e9bbb34 commit 3067b81
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@
:right-icon :i/chevron-right
:accessibility-label :view-token-gating
:on-press #(rf/dispatch [:show-bottom-sheet
{:content (fn [] [token-gating/token-requirements id])}])
{:content (fn [] [token-gating/token-requirements
id])
:padding-bottom-override 16}])
:label (i18n/label :t/view-token-gating)})

(defn edit-shared-addresses
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
[]
(fn [id]
(let [{:keys [can-request-access? tokens]} (rf/sub [:community/token-gated-overview id])]
[rn/view {:style {:padding-horizontal 12}}
[rn/view {:style {:padding-horizontal 20}}
[quo/text {:weight :medium}
(if can-request-access?
(i18n/label :t/you-eligible-to-join)
(i18n/label :t/you-not-eligible-to-join))]
[quo/text {:style {:padding-bottom 18} :size :paragraph-2}
[quo/text {:style {:padding-bottom 8} :size :paragraph-2}
(if can-request-access?
(i18n/label :t/you-hodl)
(i18n/label :t/you-must-hold))]
Expand Down

0 comments on commit 3067b81

Please sign in to comment.