aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-09-07 08:30:38 +0800
committerDan Finlay <dan@danfinlay.com>2016-09-07 08:30:38 +0800
commit0186e05a0da718169c58e33b40760bdcf869b1c8 (patch)
tree75ae612109364b01bf92366aaa88956f4ec67f15
parent1537e3f5da8d0ad5a48ded40301445c6468521f7 (diff)
downloadtangerine-wallet-browser-0186e05a0da718169c58e33b40760bdcf869b1c8.tar
tangerine-wallet-browser-0186e05a0da718169c58e33b40760bdcf869b1c8.tar.gz
tangerine-wallet-browser-0186e05a0da718169c58e33b40760bdcf869b1c8.tar.bz2
tangerine-wallet-browser-0186e05a0da718169c58e33b40760bdcf869b1c8.tar.lz
tangerine-wallet-browser-0186e05a0da718169c58e33b40760bdcf869b1c8.tar.xz
tangerine-wallet-browser-0186e05a0da718169c58e33b40760bdcf869b1c8.tar.zst
tangerine-wallet-browser-0186e05a0da718169c58e33b40760bdcf869b1c8.zip
Linted
-rw-r--r--ui/app/components/eth-balance.js45
1 files changed, 22 insertions, 23 deletions
diff --git a/ui/app/components/eth-balance.js b/ui/app/components/eth-balance.js
index b9caf65b9..46127bed5 100644
--- a/ui/app/components/eth-balance.js
+++ b/ui/app/components/eth-balance.js
@@ -58,31 +58,30 @@ EthBalanceComponent.prototype.renderBalance = function (value) {
position: 'bottom',
title: `${ethNumber} ${ethSuffix}`,
}, h('div.flex-column', [
- h('.flex-row', {
+ h('.flex-row', {
+ style: {
+ alignItems: 'flex-end',
+ lineHeight: '13px',
+ fontFamily: 'Montserrat Light',
+ textRendering: 'geometricPrecision',
+ },
+ }, [
+ h('div', {
+ style: {
+ width: '100%',
+ textAlign: 'right',
+ },
+ }, this.props.incoming ? `+${balance}` : balance),
+ h('div', {
style: {
- alignItems: 'flex-end',
- lineHeight: '13px',
- fontFamily: 'Montserrat Light',
- textRendering: 'geometricPrecision',
+ color: ' #AEAEAE',
+ fontSize: '12px',
+ marginLeft: '5px',
},
- }, [
- h('div', {
- style: {
- width: '100%',
- textAlign: 'right',
- },
- }, this.props.incoming ? `+${balance}` : balance),
- h('div', {
- style: {
- color: ' #AEAEAE',
- fontSize: '12px',
- marginLeft: '5px',
- },
- }, label),
- ]),
+ }, label),
+ ]),
- showFiat ? h(FiatValue, { value: props.value }) : null,
- ])
- )
+ showFiat ? h(FiatValue, { value: props.value }) : null,
+ ]))
)
}