From d6ebae8c4f15c8328c95d9320c3986d9179bdd35 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Tue, 14 Jun 2016 14:29:08 -0700 Subject: [PATCH] Show more address in detail view --- ui/app/account-detail.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/ui/app/account-detail.js b/ui/app/account-detail.js index 0269fc8eb..37e47d607 100644 --- a/ui/app/account-detail.js +++ b/ui/app/account-detail.js @@ -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', }, }),