diff options
author | Dan J Miller <danjm.com@gmail.com> | 2018-02-06 10:31:21 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@users.noreply.github.com> | 2018-02-06 10:31:21 +0800 |
commit | d4da419c5befdbee77cb30f6113ea50fc572625c (patch) | |
tree | 4a22c8ca4f5633161abe0025d75277d065b6b5f8 /ui/app/components/token-cell.js | |
parent | e4895df953ac16012c1dfff08fda08b2f582154c (diff) | |
download | tangerine-wallet-browser-d4da419c5befdbee77cb30f6113ea50fc572625c.tar tangerine-wallet-browser-d4da419c5befdbee77cb30f6113ea50fc572625c.tar.gz tangerine-wallet-browser-d4da419c5befdbee77cb30f6113ea50fc572625c.tar.bz2 tangerine-wallet-browser-d4da419c5befdbee77cb30f6113ea50fc572625c.tar.lz tangerine-wallet-browser-d4da419c5befdbee77cb30f6113ea50fc572625c.tar.xz tangerine-wallet-browser-d4da419c5befdbee77cb30f6113ea50fc572625c.tar.zst tangerine-wallet-browser-d4da419c5befdbee77cb30f6113ea50fc572625c.zip |
Wallet view supports screen sizes between 576px and 667px (#3193)
Diffstat (limited to 'ui/app/components/token-cell.js')
-rw-r--r-- | ui/app/components/token-cell.js | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/ui/app/components/token-cell.js b/ui/app/components/token-cell.js index 59552f4a0..a5d032a0d 100644 --- a/ui/app/components/token-cell.js +++ b/ui/app/components/token-cell.js @@ -111,20 +111,25 @@ TokenCell.prototype.render = function () { network, }), - h('h.token-list-item__balance-wrapper', null, [ - h('h3.token-list-item__token-balance', `${string || 0} ${symbol}`), + h('div.token-list-item__balance-ellipsis', [ - showFiat && h('div.token-list-item__fiat-amount', { - style: {}, - }, formattedFiat), - ]), + h('h.token-list-item__balance-wrapper', null, [ + h('h3.token-list-item__token-balance', `${string || 0} ${symbol}`), - h('i.fa.fa-ellipsis-h.fa-lg.token-list-item__ellipsis.cursor-pointer', { - onClick: (e) => { - e.stopPropagation() - this.setState({ tokenMenuOpen: true }) - }, - }), + showFiat && h('div.token-list-item__fiat-amount', { + style: {}, + }, formattedFiat), + ]), + + h('i.fa.fa-ellipsis-h.fa-lg.token-list-item__ellipsis.cursor-pointer', { + onClick: (e) => { + e.stopPropagation() + this.setState({ tokenMenuOpen: true }) + }, + }), + + ]), + tokenMenuOpen && h(TokenMenuDropdown, { onClose: () => this.setState({ tokenMenuOpen: false }), |