From 3ca20bd8a3feec362e7df924d319476cc09b8f5b Mon Sep 17 00:00:00 2001 From: Kevin Serrano Date: Tue, 5 Jul 2016 12:04:15 -0700 Subject: [PATCH] Move account balance down a row. Adjusted positioning of buttons. --- ui/app/account-detail.js | 52 +++++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 25 deletions(-) diff --git a/ui/app/account-detail.js b/ui/app/account-detail.js index aae1d434f..00ec373ad 100644 --- a/ui/app/account-detail.js +++ b/ui/app/account-detail.js @@ -56,7 +56,7 @@ AccountDetailScreen.prototype.render = function () { // header - identicon + nav h('div', { style: { - marginTop: '15px', + marginTop: '20px', display: 'flex', justifyContent: 'flex-start', alignItems: 'flex-start', @@ -120,6 +120,8 @@ AccountDetailScreen.prototype.render = function () { h('.flex-row', { style: { justifyContent: 'flex-end', + position: 'relative', + bottom: '15px', }, }, [ h(CopyButton, { @@ -150,32 +152,32 @@ AccountDetailScreen.prototype.render = function () { // account ballence - h('.flex-row', { - style: { - justifyContent: 'space-between', - alignItems: 'flex-start', - }, - }, [ - - h(EtherBalance, { - value: account && account.balance, - style: { - lineHeight: '7px', - }, - }), - - h('button', { - onClick: () => props.dispatch(actions.showSendPage()), - style: { - marginBottom: '20px', - marginRight: '8px', - }, - }, 'SEND'), - - ]), - ]), ]), + h('.flex-row', { + style: { + justifyContent: 'space-between', + alignItems: 'flex-start', + }, + }, [ + + h(EtherBalance, { + value: account && account.balance, + style: { + lineHeight: '7px', + marginTop: '10px', + }, + }), + + h('button', { + onClick: () => props.dispatch(actions.showSendPage()), + style: { + marginBottom: '20px', + marginRight: '8px', + }, + }, 'SEND'), + + ]), ]), // subview (tx history, pk export confirm)