aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-07-06 03:04:15 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-07-06 03:04:15 +0800
commit3ca20bd8a3feec362e7df924d319476cc09b8f5b (patch)
treef3c84a7a2273bcc8a07caf010c454b2389bdd2a5
parent76c473538ab477ddc7171da01153de12370e759a (diff)
downloadtangerine-wallet-browser-3ca20bd8a3feec362e7df924d319476cc09b8f5b.tar
tangerine-wallet-browser-3ca20bd8a3feec362e7df924d319476cc09b8f5b.tar.gz
tangerine-wallet-browser-3ca20bd8a3feec362e7df924d319476cc09b8f5b.tar.bz2
tangerine-wallet-browser-3ca20bd8a3feec362e7df924d319476cc09b8f5b.tar.lz
tangerine-wallet-browser-3ca20bd8a3feec362e7df924d319476cc09b8f5b.tar.xz
tangerine-wallet-browser-3ca20bd8a3feec362e7df924d319476cc09b8f5b.tar.zst
tangerine-wallet-browser-3ca20bd8a3feec362e7df924d319476cc09b8f5b.zip
Move account balance down a row. Adjusted positioning of buttons.
-rw-r--r--ui/app/account-detail.js48
1 files changed, 25 insertions, 23 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,31 +152,31 @@ 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('.flex-row', {
+ style: {
+ justifyContent: 'space-between',
+ alignItems: 'flex-start',
+ },
+ }, [
- h('button', {
- onClick: () => props.dispatch(actions.showSendPage()),
- style: {
- marginBottom: '20px',
- marginRight: '8px',
- },
- }, 'SEND'),
+ h(EtherBalance, {
+ value: account && account.balance,
+ style: {
+ lineHeight: '7px',
+ marginTop: '10px',
+ },
+ }),
- ]),
+ h('button', {
+ onClick: () => props.dispatch(actions.showSendPage()),
+ style: {
+ marginBottom: '20px',
+ marginRight: '8px',
+ },
+ }, 'SEND'),
- ]),
]),
]),