diff options
author | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-01 11:22:15 +0800 |
---|---|---|
committer | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-01 11:22:15 +0800 |
commit | 3797b9921fc227c1bcf9681cffa73588cc7afb44 (patch) | |
tree | 8ea9317f1c0a0f74c6c7d7bdb8d8e6d07ab2d4c3 /ui/app/components/wallet-content-display.js | |
parent | 0c1aea97c74e6ac0c263a654510faca73a2dc949 (diff) | |
download | tangerine-wallet-browser-3797b9921fc227c1bcf9681cffa73588cc7afb44.tar tangerine-wallet-browser-3797b9921fc227c1bcf9681cffa73588cc7afb44.tar.gz tangerine-wallet-browser-3797b9921fc227c1bcf9681cffa73588cc7afb44.tar.bz2 tangerine-wallet-browser-3797b9921fc227c1bcf9681cffa73588cc7afb44.tar.lz tangerine-wallet-browser-3797b9921fc227c1bcf9681cffa73588cc7afb44.tar.xz tangerine-wallet-browser-3797b9921fc227c1bcf9681cffa73588cc7afb44.tar.zst tangerine-wallet-browser-3797b9921fc227c1bcf9681cffa73588cc7afb44.zip |
Adjust popup size to 545x450; refactor wallet view to fit
Diffstat (limited to 'ui/app/components/wallet-content-display.js')
-rw-r--r-- | ui/app/components/wallet-content-display.js | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/ui/app/components/wallet-content-display.js b/ui/app/components/wallet-content-display.js index f1db09ec8..3baffad69 100644 --- a/ui/app/components/wallet-content-display.js +++ b/ui/app/components/wallet-content-display.js @@ -10,13 +10,14 @@ function WalletContentDisplay () { } WalletContentDisplay.prototype.render = function () { - const { title, amount, fiatValue, active } = this.props + const { title, amount, fiatValue, active, style } = this.props + // TODO: Separate component: wallet-content-account return h('div.flex-column', { style: { - marginLeft: '35px', - marginTop: '15px', + marginLeft: '1.3em', alignItems: 'flex-start', + ...style, } }, [ @@ -29,7 +30,7 @@ WalletContentDisplay.prototype.render = function () { h('span', { style: { fontSize: '1.8em', - margin: '10px 0px', + margin: '0.4em 0em', }, }, amount), @@ -42,13 +43,14 @@ WalletContentDisplay.prototype.render = function () { active && h('div', { style: { position: 'absolute', - marginLeft: '-35px', + marginLeft: '-1.3em', height: '6em', - width: '4px', + width: '0.3em', background: '#D8D8D8', // TODO: add to resuable colors } }, [ ]) ]) + } |