Fix odd relative position conflict so main icon is rounded - See flyswatter/jazzicon/issues/1

feature/default_network_editable
sdtsui 7 years ago
parent d01a663342
commit b900da885e
  1. 41
      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,
}, []),
]),
]),

Loading…
Cancel
Save