1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Adjust top and bottom padding of accountSwitcher

This commit is contained in:
sdtsui 2017-08-03 19:23:22 -07:00
parent baee076348
commit 5ddb40f60c

View File

@ -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'),
]
),
]