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

Center account name and dropdowns

This commit is contained in:
sdtsui 2017-07-30 21:53:13 -07:00
parent ddbf5613b3
commit 0ca50dfb1b
2 changed files with 7 additions and 8 deletions

View File

@ -35,10 +35,9 @@ WalletView.prototype.render = function () {
h('div.flex-row.flex-center', {
style: {
// marginLeft: '5px',
// marginRight: '5px',
// marginTop: '10px',
// alignItems: 'center',
marginLeft: '35px',
marginRight: '35px',
marginTop: '35px',
}
}, [
@ -52,7 +51,7 @@ WalletView.prototype.render = function () {
h('span', {
style: {
fontSize: '1.5em',
marginLeft: '5px',
marginLeft: '10px', // TODO: switch all units for this component to em
}
}, [
'Account 1'

View File

@ -23,15 +23,15 @@ MainContainer.prototype.render = function () {
}, [
h(WalletView, {
style: {
flexGrow: 1,
height: '82vh',
// width: '33.33%',
// height: '82vh',
}
}, [
]),
h('div.tx-view', {
style: {
flexGrow: 2,
width: '66.66%',
height: '82vh',
background: '#FFFFFF',
}