diff options
author | Dan <danjm.com@gmail.com> | 2017-08-31 08:02:13 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-09-01 15:12:58 +0800 |
commit | 799627189d62296cdec8f9604169d661123dec38 (patch) | |
tree | 2941c1b637768b1d44bea81b1dd52bdd0442da96 /ui/app/app.js | |
parent | d5998d3b0782872e6070c6feca559353ed536541 (diff) | |
download | tangerine-wallet-browser-799627189d62296cdec8f9604169d661123dec38.tar tangerine-wallet-browser-799627189d62296cdec8f9604169d661123dec38.tar.gz tangerine-wallet-browser-799627189d62296cdec8f9604169d661123dec38.tar.bz2 tangerine-wallet-browser-799627189d62296cdec8f9604169d661123dec38.tar.lz tangerine-wallet-browser-799627189d62296cdec8f9604169d661123dec38.tar.xz tangerine-wallet-browser-799627189d62296cdec8f9604169d661123dec38.tar.zst tangerine-wallet-browser-799627189d62296cdec8f9604169d661123dec38.zip |
Fix margin, padding, height for header.
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() + } + }, + }), + + ]), + ]) ]), ]) |