aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/balance-component.js
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@gmail.com>2018-10-21 19:12:40 +0800
committerAlexander Tseung <alextsg@gmail.com>2018-10-21 22:01:20 +0800
commit614995c0e933fcc984126eee20fb7dd4533e8e5b (patch)
tree7f2b29433e6df871122b74770e1106206889274f /ui/app/components/balance-component.js
parentba3617b685b9dcd8a62e0009ee2015c5997fead3 (diff)
downloadtangerine-wallet-browser-614995c0e933fcc984126eee20fb7dd4533e8e5b.tar.gz
tangerine-wallet-browser-614995c0e933fcc984126eee20fb7dd4533e8e5b.tar.zst
tangerine-wallet-browser-614995c0e933fcc984126eee20fb7dd4533e8e5b.zip
Fix account display width for large currency values
Diffstat (limited to 'ui/app/components/balance-component.js')
-rw-r--r--ui/app/components/balance-component.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/app/components/balance-component.js b/ui/app/components/balance-component.js
index e1fcf08e0..c1b713ccd 100644
--- a/ui/app/components/balance-component.js
+++ b/ui/app/components/balance-component.js
@@ -81,11 +81,12 @@ BalanceComponent.prototype.renderBalance = function () {
}
return h('div.flex-column.balance-display', {}, [
- h('div.token-amount', {}, h(UserPreferencedCurrencyDisplay, {
+ h(UserPreferencedCurrencyDisplay, {
+ className: 'token-amount',
value: balanceValue,
type: PRIMARY,
ethNumberOfDecimals: 3,
- })),
+ }),
showFiat && h(UserPreferencedCurrencyDisplay, {
value: balanceValue,