diff options
Diffstat (limited to 'ui/app/app.js')
-rw-r--r-- | ui/app/app.js | 81 |
1 files changed, 41 insertions, 40 deletions
diff --git a/ui/app/app.js b/ui/app/app.js index 87477d773..7041e2d1c 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -198,46 +198,47 @@ App.prototype.renderAppBar = function () { h('.app-header.flex-row.flex-space-between', { style: {}, }, [ - - h('div.left-menu-wrapper', { - style: {}, - }, [ - // mini logo - h('img', { - height: 24, - width: 24, - src: '/images/icon-128.png', - }), - - // metamask name - h('h1', { - style: { - position: 'relative', - left: '9px', - }, - }, 'MetaMask'), - - ]), - - h('div.network-component-wrapper', { - style: {}, - }, [ - // Network Indicator - h(NetworkIndicator, { - network: this.props.network, - provider: this.props.provider, - onClick: (event) => { - event.preventDefault() - event.stopPropagation() - if (this.props.networkDropdownOpen === false) { - this.props.showNetworkDropdown() - } else { - this.props.hideNetworkDropdown() - } - }, - }), - - ]), + h('div.app-header-contents', {}, [ + h('div.left-menu-wrapper', { + style: {}, + }, [ + // mini logo + h('img', { + height: 24, + width: 24, + src: '/images/icon-128.png', + }), + + // metamask name + h('h1', { + style: { + position: 'relative', + left: '9px', + }, + }, 'MetaMask'), + + ]), + + h('div.network-component-wrapper', { + style: {}, + }, [ + // Network Indicator + h(NetworkIndicator, { + network: this.props.network, + provider: this.props.provider, + onClick: (event) => { + event.preventDefault() + event.stopPropagation() + if (this.props.networkDropdownOpen === false) { + this.props.showNetworkDropdown() + } else { + this.props.hideNetworkDropdown() + } + }, + }), + + ]), + ]) ]), ]) |