1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
This commit is contained in:
Dan Finlay 2016-09-06 17:30:38 -07:00
parent 1537e3f5da
commit 0186e05a0d

View File

@ -58,31 +58,30 @@ EthBalanceComponent.prototype.renderBalance = function (value) {
position: 'bottom', position: 'bottom',
title: `${ethNumber} ${ethSuffix}`, title: `${ethNumber} ${ethSuffix}`,
}, h('div.flex-column', [ }, h('div.flex-column', [
h('.flex-row', { h('.flex-row', {
style: {
alignItems: 'flex-end',
lineHeight: '13px',
fontFamily: 'Montserrat Light',
textRendering: 'geometricPrecision',
},
}, [
h('div', {
style: { style: {
alignItems: 'flex-end', width: '100%',
lineHeight: '13px', textAlign: 'right',
fontFamily: 'Montserrat Light',
textRendering: 'geometricPrecision',
}, },
}, [ }, this.props.incoming ? `+${balance}` : balance),
h('div', { h('div', {
style: { style: {
width: '100%', color: ' #AEAEAE',
textAlign: 'right', fontSize: '12px',
}, marginLeft: '5px',
}, this.props.incoming ? `+${balance}` : balance), },
h('div', { }, label),
style: { ]),
color: ' #AEAEAE',
fontSize: '12px',
marginLeft: '5px',
},
}, label),
]),
showFiat ? h(FiatValue, { value: props.value }) : null, showFiat ? h(FiatValue, { value: props.value }) : null,
]) ]))
)
) )
} }