mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix odd relative position conflict so main icon is rounded - See flyswatter/jazzicon/issues/1
This commit is contained in:
parent
d01a663342
commit
b900da885e
@ -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…
x
Reference in New Issue
Block a user