aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-06-19 07:30:44 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-06-21 02:45:17 +0800
commit1f6f4977deb19543e4a4bd22d3f5126db931c4a2 (patch)
tree9d6658407f2b97a564375bf48a21ea21207dc2ab /ui/app/components
parent40fad619088bd955d5505cc839a7521ac43235f9 (diff)
downloadtangerine-wallet-browser-1f6f4977deb19543e4a4bd22d3f5126db931c4a2.tar.gz
tangerine-wallet-browser-1f6f4977deb19543e4a4bd22d3f5126db931c4a2.tar.zst
tangerine-wallet-browser-1f6f4977deb19543e4a4bd22d3f5126db931c4a2.zip
Handle large token balances in tx list hero
Diffstat (limited to 'ui/app/components')
-rw-r--r--ui/app/components/identicon.js1
-rw-r--r--ui/app/components/token-balance.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/components/identicon.js b/ui/app/components/identicon.js
index dce9b0449..424048745 100644
--- a/ui/app/components/identicon.js
+++ b/ui/app/components/identicon.js
@@ -36,6 +36,7 @@ IdenticonComponent.prototype.render = function () {
key: 'identicon-' + address,
style: {
display: 'flex',
+ flexShrink: 0,
alignItems: 'center',
justifyContent: 'center',
height: diameter,
diff --git a/ui/app/components/token-balance.js b/ui/app/components/token-balance.js
index 1900ccec7..df3bd59bb 100644
--- a/ui/app/components/token-balance.js
+++ b/ui/app/components/token-balance.js
@@ -34,7 +34,7 @@ TokenBalance.prototype.render = function () {
return isLoading
? h('span', '')
: h('span.token-balance', [
- h('span.token-balance__amount', string),
+ h('span.hide-text-overflow.token-balance__amount', string),
!balanceOnly && h('span.token-balance__symbol', symbol),
])
}