1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +01:00

Add overflow support for all account names in account details

This commit is contained in:
sdtsui 2017-08-10 17:49:12 -07:00
parent 771f9ec124
commit 2346c9b6b9

View File

@ -107,14 +107,23 @@ AccountDetailScreen.prototype.render = function () {
},
[
h(
'h2.font-medium.color-forest',
'div.font-medium.color-forest',
{
name: 'edit',
style: {
},
},
[
identity && identity.name,
h('h2', {
style: {
maxWidth: '180px',
overflowX: 'hidden',
textOverflow: 'ellipsis',
padding: '5px 0px',
},
}, [
identity && identity.name,
]),
]
),
h(