diff options
author | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-14 13:33:43 +0800 |
---|---|---|
committer | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-14 13:34:57 +0800 |
commit | b900da885ebb5b5581a670d9ca85761cecaa648f (patch) | |
tree | fad3356864e7436fef45494d88a567f4520af154 /ui/app/components/wallet-view.js | |
parent | d01a6633423e9b20f3ca8e73cd39655362190f64 (diff) | |
download | tangerine-wallet-browser-b900da885ebb5b5581a670d9ca85761cecaa648f.tar tangerine-wallet-browser-b900da885ebb5b5581a670d9ca85761cecaa648f.tar.gz tangerine-wallet-browser-b900da885ebb5b5581a670d9ca85761cecaa648f.tar.bz2 tangerine-wallet-browser-b900da885ebb5b5581a670d9ca85761cecaa648f.tar.lz tangerine-wallet-browser-b900da885ebb5b5581a670d9ca85761cecaa648f.tar.xz tangerine-wallet-browser-b900da885ebb5b5581a670d9ca85761cecaa648f.tar.zst tangerine-wallet-browser-b900da885ebb5b5581a670d9ca85761cecaa648f.zip |
Fix odd relative position conflict so main icon is rounded - See flyswatter/jazzicon/issues/1
Diffstat (limited to 'ui/app/components/wallet-view.js')
-rw-r--r-- | ui/app/components/wallet-view.js | 41 |
1 files changed, 19 insertions, 22 deletions
diff --git a/ui/app/components/wallet-view.js b/ui/app/components/wallet-view.js index cf7f74e49..38b2787d5 100644 --- a/ui/app/components/wallet-view.js +++ b/ui/app/components/wallet-view.js @@ -88,39 +88,36 @@ WalletView.prototype.render = function () { ]), h('div.flex-column.flex-center', { - style: { - position: 'relative', - }, }, [ - - h('.identicon-wrapper.select-none', { + h('div', { style: { - marginBottom: '1%', - }, + position: 'relative', + } }, [ - h(Identicon, { - diameter: 54, - address: selectedAddress, - }), + h(AccountDropdowns, { + style: { + position: 'absolute', + left: 'calc(50% + 28px + 5.5px)', + top: '14px', + }, + selected: selectedAddress, + network, + identities, + enableAccountsSelector: true, + }, []), ]), + h(Identicon, { + diameter: 54, + address: selectedAddress, + }), + h('span.account-name', { style: {} }, [ 'Account 1' ]), - h(AccountDropdowns, { - style: { - position: 'absolute', - left: 'calc(50% + 28px + 5.5px)', - top: '19.5%', - }, - selected: selectedAddress, - network, - identities, - enableAccountsSelector: true, - }, []), ]), ]), |