Merge pull request #285 from MetaMask/ShowMoreAddress

Don't cut accounts short unless necessary
feature/default_network_editable
Dan Finlay 9 years ago committed by GitHub
commit 76bd67a563
  1. 13
      ui/app/account-detail.js

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

Loading…
Cancel
Save