From 70557e0448a89f5d04be15b7f8152bd398273dbe Mon Sep 17 00:00:00 2001 From: Dan Date: Fri, 8 Dec 2017 14:49:59 -0330 Subject: Flex account-data-subsection --- old-ui/app/account-detail.js | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) (limited to 'old-ui/app/account-detail.js') diff --git a/old-ui/app/account-detail.js b/old-ui/app/account-detail.js index 933f6d6a4..121f84a0d 100644 --- a/old-ui/app/account-detail.js +++ b/old-ui/app/account-detail.js @@ -78,10 +78,9 @@ AccountDetailScreen.prototype.render = function () { address: selected, }), ]), - h('flex-column', { + h('div.flex-column', { style: { lineHeight: '10px', - marginLeft: '15px', width: '100%', }, }, [ @@ -90,6 +89,9 @@ AccountDetailScreen.prototype.render = function () { state: { isEditingLabel: false, }, + nameLabelStyle: { + marginLeft: '15px', + }, saveText: (text) => { props.dispatch(actions.saveAccountLabel(selected, text)) }, @@ -102,7 +104,7 @@ AccountDetailScreen.prototype.render = function () { { style: { display: 'flex', - justifyContent: 'flex-start', + justifyContent: 'space-between', alignItems: 'center', }, }, @@ -132,8 +134,6 @@ AccountDetailScreen.prototype.render = function () { AccountDropdowns, { style: { - marginRight: '8px', - marginLeft: 'auto', cursor: 'pointer', }, selected, @@ -147,7 +147,6 @@ AccountDetailScreen.prototype.render = function () { ]), h('.flex-row', { style: { - width: '15em', justifyContent: 'space-between', alignItems: 'baseline', }, @@ -164,6 +163,7 @@ AccountDetailScreen.prototype.render = function () { fontSize: '13px', fontFamily: 'Montserrat Light', textRendering: 'geometricPrecision', + marginTop: '15px', marginBottom: '15px', color: '#AEAEAE', }, @@ -191,20 +191,21 @@ AccountDetailScreen.prototype.render = function () { }, }), - h('.flex-grow'), + h('div', {}, [ - h('button', { - onClick: () => props.dispatch(actions.buyEthView(selected)), - style: { marginRight: '10px' }, - }, 'BUY'), + h('button', { + onClick: () => props.dispatch(actions.buyEthView(selected)), + style: { marginRight: '10px' }, + }, 'BUY'), - h('button', { - onClick: () => props.dispatch(actions.showSendPage()), - style: { - marginBottom: '20px', - marginRight: '8px', - }, - }, 'SEND'), + h('button', { + onClick: () => props.dispatch(actions.showSendPage()), + style: { + marginBottom: '20px', + }, + }, 'SEND'), + + ]), ]), ]), -- cgit