diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-07-04 06:06:26 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-07-04 06:06:26 +0800 |
commit | 4e4d6cea403373e7f7d493775981cfa2a97da5f4 (patch) | |
tree | 31440e00a9d9e42252c2f6ae149984ab3b0b89bc /ui/app/app.js | |
parent | fa533469cb6ddc5b5142afed2b4950565494d5a0 (diff) | |
download | tangerine-wallet-browser-4e4d6cea403373e7f7d493775981cfa2a97da5f4.tar tangerine-wallet-browser-4e4d6cea403373e7f7d493775981cfa2a97da5f4.tar.gz tangerine-wallet-browser-4e4d6cea403373e7f7d493775981cfa2a97da5f4.tar.bz2 tangerine-wallet-browser-4e4d6cea403373e7f7d493775981cfa2a97da5f4.tar.lz tangerine-wallet-browser-4e4d6cea403373e7f7d493775981cfa2a97da5f4.tar.xz tangerine-wallet-browser-4e4d6cea403373e7f7d493775981cfa2a97da5f4.tar.zst tangerine-wallet-browser-4e4d6cea403373e7f7d493775981cfa2a97da5f4.zip |
Add menu carrat next to network searching indicator
Diffstat (limited to 'ui/app/app.js')
-rw-r--r-- | ui/app/app.js | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/ui/app/app.js b/ui/app/app.js index 8bf69b5ad..ce543a082 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -136,7 +136,7 @@ App.prototype.renderAppBar = function () { }, }, [ - h('div', { + h('div.left-menu-section', { style: { display: 'flex', flexDirection: 'row', @@ -151,21 +151,15 @@ App.prototype.renderAppBar = function () { src: '/images/icon-128.png', }), - h('#network-spacer.flex-center', { - style: { - marginRight: '-72px', + h(NetworkIndicator, { + network: this.props.network, + provider: this.props.provider, + onClick: (event) => { + event.preventDefault() + event.stopPropagation() + this.setState({ isNetworkMenuOpen: !isNetworkMenuOpen }) }, - }, [ - h(NetworkIndicator, { - network: this.props.network, - provider: this.props.provider, - onClick: (event) => { - event.preventDefault() - event.stopPropagation() - this.setState({ isNetworkMenuOpen: !isNetworkMenuOpen }) - }, - }), - ]), + }), ]), // metamask name |