1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00

Merge pull request #285 from MetaMask/ShowMoreAddress

Don't cut accounts short unless necessary
This commit is contained in:
Dan Finlay 2016-06-14 14:53:33 -07:00 committed by GitHub
commit 76bd67a563

View File

@ -108,7 +108,7 @@ AccountDetailScreen.prototype.render = function() {
]),
// address and getter actions
h('.flex-row.flex-space-between', {
h('.flex-row', {
style: {
marginBottom: 16,
},
@ -116,15 +116,17 @@ AccountDetailScreen.prototype.render = function() {
h('div', {
style: {
lineHeight: '16px',
overflow: 'hidden',
textOverflow: 'ellipsis',
paddingTop: '3px',
},
}, addressSummary(selected)),
}, selected),
h('img.cursor-pointer.color-orange', {
src: 'images/copy.svg',
onClick: () => copyToClipboard(ethUtil.toChecksumAddress(selected)),
style:{
marginLeft: '64px',
margin: '0px 5px',
},
}),
@ -132,8 +134,7 @@ AccountDetailScreen.prototype.render = function() {
src: 'images/download.svg',
onClick: () => this.requestAccountExport(selected),
style:{
position: 'relative',
right: '32px',
margin: '0px 5px',
},
}),