aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Huang <tmashuang@users.noreply.github.com>2017-09-09 05:38:00 +0800
committerGitHub <noreply@github.com>2017-09-09 05:38:00 +0800
commit430d6d20f110f32029ba19c97e83a28e00595c7b (patch)
tree596d1363d7d3261c0edbde5e2775ae0b50726ea1
parent5fa0b992a754cb8ab467f3b29233692920d7e679 (diff)
parent54fb8e8cef9b2692d1ad1bac9efd5cbe6eadf823 (diff)
downloadtangerine-wallet-browser-430d6d20f110f32029ba19c97e83a28e00595c7b.tar.gz
tangerine-wallet-browser-430d6d20f110f32029ba19c97e83a28e00595c7b.tar.zst
tangerine-wallet-browser-430d6d20f110f32029ba19c97e83a28e00595c7b.zip
Merge pull request #2047 from MetaMask/i1997-networkindicate
Add caret to dropdown network selector
-rw-r--r--ui/app/components/network.js11
1 files changed, 8 insertions, 3 deletions
diff --git a/ui/app/components/network.js b/ui/app/components/network.js
index 698a0bbb9..0dbe37cdd 100644
--- a/ui/app/components/network.js
+++ b/ui/app/components/network.js
@@ -22,7 +22,7 @@ Network.prototype.render = function () {
let iconName, hoverText
if (networkNumber === 'loading') {
- return h('span', {
+ return h('span.pointer', {
style: {
display: 'flex',
alignItems: 'center',
@@ -37,7 +37,7 @@ Network.prototype.render = function () {
},
src: 'images/loading.svg',
}),
- h('i.fa.fa-sort-desc'),
+ h('i.fa.fa-caret-down'),
])
} else if (providerName === 'mainnet') {
hoverText = 'Main Ethereum Network'
@@ -73,7 +73,8 @@ Network.prototype.render = function () {
style: {
color: '#039396',
}},
- 'Ethereum Main Net'),
+ 'Main Network'),
+ h('i.fa.fa-caret-down.fa-lg'),
])
case 'ropsten-test-network':
return h('.network-indicator', [
@@ -83,6 +84,7 @@ Network.prototype.render = function () {
color: '#ff6666',
}},
'Ropsten Test Net'),
+ h('i.fa.fa-caret-down.fa-lg'),
])
case 'kovan-test-network':
return h('.network-indicator', [
@@ -92,6 +94,7 @@ Network.prototype.render = function () {
color: '#690496',
}},
'Kovan Test Net'),
+ h('i.fa.fa-caret-down.fa-lg'),
])
case 'rinkeby-test-network':
return h('.network-indicator', [
@@ -101,6 +104,7 @@ Network.prototype.render = function () {
color: '#e7a218',
}},
'Rinkeby Test Net'),
+ h('i.fa.fa-caret-down.fa-lg'),
])
default:
return h('.network-indicator', [
@@ -116,6 +120,7 @@ Network.prototype.render = function () {
color: '#AEAEAE',
}},
'Private Network'),
+ h('i.fa.fa-caret-down.fa-lg'),
])
}
})(),