mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-10-23 03:36:18 +02: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', {
|
h('div.flex-column.flex-center', {
|
||||||
style: {
|
|
||||||
position: 'relative',
|
|
||||||
},
|
|
||||||
}, [
|
}, [
|
||||||
|
h('div', {
|
||||||
h('.identicon-wrapper.select-none', {
|
|
||||||
style: {
|
style: {
|
||||||
marginBottom: '1%',
|
position: 'relative',
|
||||||
},
|
}
|
||||||
}, [
|
}, [
|
||||||
h(Identicon, {
|
h(AccountDropdowns, {
|
||||||
diameter: 54,
|
style: {
|
||||||
address: selectedAddress,
|
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', {
|
h('span.account-name', {
|
||||||
style: {}
|
style: {}
|
||||||
}, [
|
}, [
|
||||||
'Account 1'
|
'Account 1'
|
||||||
]),
|
]),
|
||||||
|
|
||||||
h(AccountDropdowns, {
|
|
||||||
style: {
|
|
||||||
position: 'absolute',
|
|
||||||
left: 'calc(50% + 28px + 5.5px)',
|
|
||||||
top: '19.5%',
|
|
||||||
},
|
|
||||||
selected: selectedAddress,
|
|
||||||
network,
|
|
||||||
identities,
|
|
||||||
enableAccountsSelector: true,
|
|
||||||
}, []),
|
|
||||||
]),
|
]),
|
||||||
]),
|
]),
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user