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

View File

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