diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-13 06:46:09 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-13 06:46:18 +0800 |
commit | 57179d2b05a4efae06c2375e01e9a01a5519543b (patch) | |
tree | cc343761d9a1b550db5fcdd82c1c7992b7f49d32 /ui/app/components/network.js | |
parent | 7ec77e0b4580c52bbf1723ed52d647c9d7516bd5 (diff) | |
download | tangerine-wallet-browser-57179d2b05a4efae06c2375e01e9a01a5519543b.tar tangerine-wallet-browser-57179d2b05a4efae06c2375e01e9a01a5519543b.tar.gz tangerine-wallet-browser-57179d2b05a4efae06c2375e01e9a01a5519543b.tar.bz2 tangerine-wallet-browser-57179d2b05a4efae06c2375e01e9a01a5519543b.tar.lz tangerine-wallet-browser-57179d2b05a4efae06c2375e01e9a01a5519543b.tar.xz tangerine-wallet-browser-57179d2b05a4efae06c2375e01e9a01a5519543b.tar.zst tangerine-wallet-browser-57179d2b05a4efae06c2375e01e9a01a5519543b.zip |
Various styling fixes
Diffstat (limited to 'ui/app/components/network.js')
-rw-r--r-- | ui/app/components/network.js | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/ui/app/components/network.js b/ui/app/components/network.js index 8424a479a..b24505750 100644 --- a/ui/app/components/network.js +++ b/ui/app/components/network.js @@ -1,5 +1,6 @@ const Component = require('react').Component const h = require('react-hyperscript') +const classnames = require('classnames'); const inherits = require('util').inherits const NetworkDropdownIcon = require('./dropdowns/components/network-dropdown-icon') @@ -61,7 +62,13 @@ Network.prototype.render = function () { } return ( - h('.network-component.pointer', { + h('div.network-component.pointer', { + className: classnames('network-component pointer', { + 'ethereum-network': providerName === 'mainnet', + 'ropsten-test-network': providerName === 'ropsten' || parseInt(networkNumber) === 3, + 'kovan-test-network': providerName === 'kovan', + 'rinkeby-test-network': providerName === 'rinkeby', + }), title: hoverText, onClick: (event) => this.props.onClick(event), }, [ @@ -71,7 +78,7 @@ Network.prototype.render = function () { return h('.network-indicator', [ h(NetworkDropdownIcon, { backgroundColor: '#038789', // $blue-lagoon - nonSelectBackgroundColor: '#15afb2' + nonSelectBackgroundColor: '#15afb2', }), h('.network-name', { style: { |