Fix accounts clipped on the wallet screen
Fixes #9767 Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
This commit is contained in:
parent
b81f92bf43
commit
dd52eb1766
|
@ -91,7 +91,7 @@
|
||||||
(views/defview total-value []
|
(views/defview total-value []
|
||||||
(views/letsubs [currency [:wallet/currency]
|
(views/letsubs [currency [:wallet/currency]
|
||||||
portfolio-value [:portfolio-value]]
|
portfolio-value [:portfolio-value]]
|
||||||
[react/view
|
[react/view {:style {:padding-horizontal 16}}
|
||||||
[react/nested-text {:style {:font-size 32 :color colors/gray :font-weight "600"}}
|
[react/nested-text {:style {:font-size 32 :color colors/gray :font-weight "600"}}
|
||||||
[{:style {:color colors/black}} portfolio-value]
|
[{:style {:color colors/black}} portfolio-value]
|
||||||
" "
|
" "
|
||||||
|
@ -157,8 +157,12 @@
|
||||||
|
|
||||||
(views/defview accounts []
|
(views/defview accounts []
|
||||||
(views/letsubs [accounts [:multiaccount/accounts]]
|
(views/letsubs [accounts [:multiaccount/accounts]]
|
||||||
[react/scroll-view {:horizontal true}
|
[react/scroll-view {:horizontal true
|
||||||
[react/view {:flex-direction :row :padding-top 11 :padding-bottom 12}
|
:shows-horizontal-scroll-indicator false}
|
||||||
|
[react/view {:flex-direction :row
|
||||||
|
:padding-top 11
|
||||||
|
:padding-bottom 12
|
||||||
|
:padding-horizontal 16}
|
||||||
(for [account accounts]
|
(for [account accounts]
|
||||||
^{:key account}
|
^{:key account}
|
||||||
[account-card account])
|
[account-card account])
|
||||||
|
@ -168,7 +172,7 @@
|
||||||
[react/view {:flex 1}
|
[react/view {:flex 1}
|
||||||
[react/scroll-view
|
[react/scroll-view
|
||||||
[accounts-options]
|
[accounts-options]
|
||||||
[react/view {:margin-top 8 :padding-horizontal 16}
|
[react/view {:margin-top 8}
|
||||||
[total-value]
|
[total-value]
|
||||||
[accounts]]
|
[accounts]]
|
||||||
[assets]
|
[assets]
|
||||||
|
|
Loading…
Reference in New Issue