aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/eth-balance.js
diff options
context:
space:
mode:
authorFrankie <frankie.pangilinan@consensys.net>2016-07-01 03:43:28 +0800
committerFrankie <frankie.pangilinan@consensys.net>2016-07-01 05:53:24 +0800
commit42cd0b69e76537022c7766cae430e496371818b6 (patch)
tree82fc05d30ed924fc68519258a0076aae15c8a668 /ui/app/components/eth-balance.js
parent5252504e3f1b8437d6152861f06ee490f723276e (diff)
downloadtangerine-wallet-browser-42cd0b69e76537022c7766cae430e496371818b6.tar
tangerine-wallet-browser-42cd0b69e76537022c7766cae430e496371818b6.tar.gz
tangerine-wallet-browser-42cd0b69e76537022c7766cae430e496371818b6.tar.bz2
tangerine-wallet-browser-42cd0b69e76537022c7766cae430e496371818b6.tar.lz
tangerine-wallet-browser-42cd0b69e76537022c7766cae430e496371818b6.tar.xz
tangerine-wallet-browser-42cd0b69e76537022c7766cae430e496371818b6.tar.zst
tangerine-wallet-browser-42cd0b69e76537022c7766cae430e496371818b6.zip
Implemt new account layout
Diffstat (limited to 'ui/app/components/eth-balance.js')
-rw-r--r--ui/app/components/eth-balance.js22
1 files changed, 16 insertions, 6 deletions
diff --git a/ui/app/components/eth-balance.js b/ui/app/components/eth-balance.js
index 279feba35..c7240ea21 100644
--- a/ui/app/components/eth-balance.js
+++ b/ui/app/components/eth-balance.js
@@ -29,19 +29,29 @@ EthBalanceComponent.prototype.render = function () {
)
}
-
EthBalanceComponent.prototype.renderBalance = function (value) {
if (value === 'None') return value
- var balance = value[0]
- var label = value[1]
+ var balance = value.split(' ')[0]
+ var label = value.split(' ')[1]
return (
- h('.flex-column',[
+ h('.flex-column', {
+ style: {
+ alignItems: 'flex-end',
+ lineHeight: '13px',
+ fontFamily: 'Montserrat Thin',
+ textRendering: 'geometricPrecision',
+ },
+ }, [
h('div', balance),
- h('div', label)
+ h('div', {
+ style: {
+ color: ' #AEAEAE',
+ fontSize: '12px',
+ },
+ }, label),
])
)
-
}