diff options
author | Frankie <frankie.pangilinan@consensys.net> | 2016-07-01 03:43:28 +0800 |
---|---|---|
committer | Frankie <frankie.pangilinan@consensys.net> | 2016-07-01 05:53:24 +0800 |
commit | 42cd0b69e76537022c7766cae430e496371818b6 (patch) | |
tree | 82fc05d30ed924fc68519258a0076aae15c8a668 /ui/app/components | |
parent | 5252504e3f1b8437d6152861f06ee490f723276e (diff) | |
download | tangerine-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')
-rw-r--r-- | ui/app/components/eth-balance.js | 22 | ||||
-rw-r--r-- | ui/app/components/transaction-list.js | 5 |
2 files changed, 19 insertions, 8 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), ]) ) - } diff --git a/ui/app/components/transaction-list.js b/ui/app/components/transaction-list.js index a1a5db475..886aa7c00 100644 --- a/ui/app/components/transaction-list.js +++ b/ui/app/components/transaction-list.js @@ -35,6 +35,8 @@ TransactionList.prototype.render = function () { style: { background: '#EBEBEB', color: '#AEAEAE', + paddingTop: '4px', + paddingBottom: '4px', }, }, [ 'Transactions', @@ -43,7 +45,7 @@ TransactionList.prototype.render = function () { h('.tx-list', { style: { overflowY: 'auto', - height: '204px', + height: '305px', padding: '0 20px', textAlign: 'center', }, @@ -67,4 +69,3 @@ TransactionList.prototype.render = function () { ]) ) } - |