mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Wallet name now is properly truncated.
This commit is contained in:
parent
697e8c0768
commit
f9540cf48c
@ -49,7 +49,7 @@ NewComponent.prototype.render = function () {
|
|||||||
overflow: 'hidden',
|
overflow: 'hidden',
|
||||||
textOverflow: 'ellipsis',
|
textOverflow: 'ellipsis',
|
||||||
},
|
},
|
||||||
}, ethUtil.toChecksumAddress(identity.address).substring(0,7)),
|
}, ethUtil.toChecksumAddress(identity.address)),
|
||||||
h(EtherBalance, {
|
h(EtherBalance, {
|
||||||
value: account.balance,
|
value: account.balance,
|
||||||
}),
|
}),
|
||||||
|
@ -48,7 +48,7 @@ AccountPanel.prototype.render = function () {
|
|||||||
address: panelState.identiconKey,
|
address: panelState.identiconKey,
|
||||||
imageify: state.imageifyIdenticons,
|
imageify: state.imageifyIdenticons,
|
||||||
}),
|
}),
|
||||||
h('span.font-small', panelState.identiconLabel),
|
h('span.font-small', panelState.identiconLabel.substring(0, 7) + '...'),
|
||||||
]),
|
]),
|
||||||
|
|
||||||
// account address, balance
|
// account address, balance
|
||||||
|
Loading…
Reference in New Issue
Block a user