diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-07-21 08:00:00 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-07-21 08:00:00 +0800 |
commit | 60aea4839c447de68e723d171fdb862056538057 (patch) | |
tree | 39719bc8f99ab447fdbfe61de0bb41bb4176e077 | |
parent | 5f61fd242ceaa773994e9e4691ff028f9baadabb (diff) | |
download | tangerine-wallet-browser-60aea4839c447de68e723d171fdb862056538057.tar.gz tangerine-wallet-browser-60aea4839c447de68e723d171fdb862056538057.tar.zst tangerine-wallet-browser-60aea4839c447de68e723d171fdb862056538057.zip |
Improve account-detail panel responsiveness
-rw-r--r-- | responsive-ui/app/account-detail.js | 6 |
1 files changed, 5 insertions, 1 deletions
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', { |