Fix accounts clipped on the wallet screen

Fixes #9767

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
This commit is contained in:
Gheorghe Pinzaru 2020-01-09 12:02:51 +03:00
parent b81f92bf43
commit dd52eb1766
No known key found for this signature in database
GPG Key ID: C9A094959935A952
1 changed files with 8 additions and 4 deletions

View File

@ -91,7 +91,7 @@
(views/defview total-value []
(views/letsubs [currency [:wallet/currency]
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"}}
[{:style {:color colors/black}} portfolio-value]
" "
@ -157,8 +157,12 @@
(views/defview accounts []
(views/letsubs [accounts [:multiaccount/accounts]]
[react/scroll-view {:horizontal true}
[react/view {:flex-direction :row :padding-top 11 :padding-bottom 12}
[react/scroll-view {:horizontal true
:shows-horizontal-scroll-indicator false}
[react/view {:flex-direction :row
:padding-top 11
:padding-bottom 12
:padding-horizontal 16}
(for [account accounts]
^{:key account}
[account-card account])
@ -168,7 +172,7 @@
[react/view {:flex 1}
[react/scroll-view
[accounts-options]
[react/view {:margin-top 8 :padding-horizontal 16}
[react/view {:margin-top 8}
[total-value]
[accounts]]
[assets]