aboutsummaryrefslogtreecommitdiffstats
path: root/old-ui/app/account-detail.js
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2018-01-18 05:48:16 +0800
committerGitHub <noreply@github.com>2018-01-18 05:48:16 +0800
commitb80ed2c451fee7b94edea9d1655baa2e908939b9 (patch)
treee9a67e289f043900a77b1bfb34088ad2e5f83864 /old-ui/app/account-detail.js
parentccb80594be3000488b7c73f9fd5e56168e0d5042 (diff)
parentaa08d1a09dce7324eaa3b3df568df43f8c55cc63 (diff)
downloadtangerine-wallet-browser-b80ed2c451fee7b94edea9d1655baa2e908939b9.tar
tangerine-wallet-browser-b80ed2c451fee7b94edea9d1655baa2e908939b9.tar.gz
tangerine-wallet-browser-b80ed2c451fee7b94edea9d1655baa2e908939b9.tar.bz2
tangerine-wallet-browser-b80ed2c451fee7b94edea9d1655baa2e908939b9.tar.lz
tangerine-wallet-browser-b80ed2c451fee7b94edea9d1655baa2e908939b9.tar.xz
tangerine-wallet-browser-b80ed2c451fee7b94edea9d1655baa2e908939b9.tar.zst
tangerine-wallet-browser-b80ed2c451fee7b94edea9d1655baa2e908939b9.zip
Merge pull request #3007 from alextsg/uat-master-011618
[NewUI] Merge master into uat branch
Diffstat (limited to 'old-ui/app/account-detail.js')
-rw-r--r--old-ui/app/account-detail.js36
1 files changed, 19 insertions, 17 deletions
diff --git a/old-ui/app/account-detail.js b/old-ui/app/account-detail.js
index af189cc79..692d50491 100644
--- a/old-ui/app/account-detail.js
+++ b/old-ui/app/account-detail.js
@@ -78,9 +78,10 @@ AccountDetailScreen.prototype.render = function () {
address: selected,
}),
]),
- h('div.flex-column', {
+ h('flex-column', {
style: {
lineHeight: '10px',
+ marginLeft: '15px',
width: '100%',
},
}, [
@@ -101,7 +102,7 @@ AccountDetailScreen.prototype.render = function () {
{
style: {
display: 'flex',
- justifyContent: 'space-between',
+ justifyContent: 'flex-start',
alignItems: 'center',
},
},
@@ -131,6 +132,8 @@ AccountDetailScreen.prototype.render = function () {
AccountDropdowns,
{
style: {
+ marginRight: '8px',
+ marginLeft: 'auto',
cursor: 'pointer',
},
selected,
@@ -144,6 +147,7 @@ AccountDetailScreen.prototype.render = function () {
]),
h('.flex-row', {
style: {
+ width: '15em',
justifyContent: 'space-between',
alignItems: 'baseline',
},
@@ -157,12 +161,11 @@ AccountDetailScreen.prototype.render = function () {
textOverflow: 'ellipsis',
paddingTop: '3px',
width: '5em',
+ height: '15px',
fontSize: '13px',
fontFamily: 'Montserrat Light',
textRendering: 'geometricPrecision',
- marginTop: '15px',
marginBottom: '15px',
- marginLeft: '15px',
color: '#AEAEAE',
},
}, checksumAddress),
@@ -189,21 +192,20 @@ AccountDetailScreen.prototype.render = function () {
},
}),
- h('div', {}, [
+ h('.flex-grow'),
- 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',
- },
- }, 'SEND'),
-
- ]),
+ h('button', {
+ onClick: () => props.dispatch(actions.showSendPage()),
+ style: {
+ marginBottom: '20px',
+ marginRight: '8px',
+ },
+ }, 'SEND'),
]),
]),