aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorsdtsui <szehungdanieltsui@gmail.com>2017-08-04 10:23:22 +0800
committersdtsui <szehungdanieltsui@gmail.com>2017-08-04 10:23:22 +0800
commit5ddb40f60cfd300f97aba82158fa239d1c80f9bc (patch)
tree6dff596501c8b70f2ea2aebb81426283cd4f32fb /ui
parentbaee076348a913529834f7d57239e2ded460aa0a (diff)
downloadtangerine-wallet-browser-5ddb40f60cfd300f97aba82158fa239d1c80f9bc.tar
tangerine-wallet-browser-5ddb40f60cfd300f97aba82158fa239d1c80f9bc.tar.gz
tangerine-wallet-browser-5ddb40f60cfd300f97aba82158fa239d1c80f9bc.tar.bz2
tangerine-wallet-browser-5ddb40f60cfd300f97aba82158fa239d1c80f9bc.tar.lz
tangerine-wallet-browser-5ddb40f60cfd300f97aba82158fa239d1c80f9bc.tar.xz
tangerine-wallet-browser-5ddb40f60cfd300f97aba82158fa239d1c80f9bc.tar.zst
tangerine-wallet-browser-5ddb40f60cfd300f97aba82158fa239d1c80f9bc.zip
Adjust top and bottom padding of accountSwitcher
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/account-dropdowns.js11
1 files changed, 9 insertions, 2 deletions
diff --git a/ui/app/components/account-dropdowns.js b/ui/app/components/account-dropdowns.js
index fc96ce6c5..b61a4996a 100644
--- a/ui/app/components/account-dropdowns.js
+++ b/ui/app/components/account-dropdowns.js
@@ -24,7 +24,7 @@ class AccountDropdowns extends Component {
renderAccounts () {
const { identities, selected } = this.props
- return Object.keys(identities).map((key) => {
+ return Object.keys(identities).map((key, index) => {
const identity = identities[key]
const isSelected = identity.address === selected
@@ -36,6 +36,7 @@ class AccountDropdowns extends Component {
this.props.actions.showAccountDetail(identity.address)
},
style: {
+ marginTop: index === 0 ? '10px' : '',
fontSize: '24px',
},
},
@@ -118,7 +119,13 @@ class AccountDropdowns extends Component {
diameter: 32,
},
),
- h('span', { style: { marginLeft: '20px', fontSize: '24px' } }, 'Import Account'),
+ h('span', {
+ style: {
+ marginLeft: '20px',
+ fontSize: '24px',
+ marginButtom: '20px',
+ },
+ }, 'Import Account'),
]
),
]