From 60aea4839c447de68e723d171fdb862056538057 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Thu, 20 Jul 2017 17:00:00 -0700 Subject: Improve account-detail panel responsiveness --- responsive-ui/app/account-detail.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/responsive-ui/app/account-detail.js b/responsive-ui/app/account-detail.js index f01a4a6f6..95e7c554a 100644 --- a/responsive-ui/app/account-detail.js +++ b/responsive-ui/app/account-detail.js @@ -62,7 +62,7 @@ AccountDetailScreen.prototype.render = function () { h('.account-data-subsection', { style: { margin: '0 20px', - maxWidth: '320px', + flex: '1 0 auto', }, }, [ @@ -87,6 +87,7 @@ AccountDetailScreen.prototype.render = function () { style: { lineHeight: '10px', marginLeft: '15px', + width: '100%', }, }, [ h(EditableLabel, { @@ -184,8 +185,11 @@ AccountDetailScreen.prototype.render = function () { }, }), + h('.flex-grow'), + h('button', { onClick: () => props.dispatch(actions.buyEthView(selected)), + style: { marginRight: '10px' }, }, 'BUY'), h('button', { -- cgit v1.2.3