1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00

Add fox logo back to left of menu

Re-centered metamask h1 manually.
This commit is contained in:
Dan Finlay 2016-06-23 14:56:33 -07:00
parent 4ebb9f631e
commit a106887a6f

View File

@ -109,17 +109,38 @@ App.prototype.renderAppBar = function () {
},
}, props.isUnlocked && [
h(NetworkIndicator, {
network: this.props.network,
onClick: (event) => {
event.preventDefault()
event.stopPropagation()
this.setState({ isNetworkMenuOpen: !isNetworkMenuOpen })
h('div', {
style: {
display: 'flex',
flexDirection: 'row',
alignItems: 'center',
},
}),
}, [
// mini logo
h('img', {
height: 24,
width: 24,
src: '/images/icon-128.png',
}),
h(NetworkIndicator, {
network: this.props.network,
onClick: (event) => {
event.preventDefault()
event.stopPropagation()
this.setState({ isNetworkMenuOpen: !isNetworkMenuOpen })
},
}),
]),
// metamask name
h('h1', 'MetaMask'),
h('h1', {
style: {
position: 'relative',
left: '3px',
},
}, 'MetaMask'),
h('div', {
style: {