aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorsdtsui <szehungdanieltsui@gmail.com>2017-07-27 04:02:08 +0800
committersdtsui <szehungdanieltsui@gmail.com>2017-07-27 04:02:08 +0800
commit8006d798ee8d1993ef4b06cce25480f0aea6c4f4 (patch)
tree380b3e3c207a14647ce2d48217fc79f6c2eeb999 /ui
parent4c0f827946dfb6ea115d628480a332d6f732ca20 (diff)
downloadtangerine-wallet-browser-8006d798ee8d1993ef4b06cce25480f0aea6c4f4.tar
tangerine-wallet-browser-8006d798ee8d1993ef4b06cce25480f0aea6c4f4.tar.gz
tangerine-wallet-browser-8006d798ee8d1993ef4b06cce25480f0aea6c4f4.tar.bz2
tangerine-wallet-browser-8006d798ee8d1993ef4b06cce25480f0aea6c4f4.tar.lz
tangerine-wallet-browser-8006d798ee8d1993ef4b06cce25480f0aea6c4f4.tar.xz
tangerine-wallet-browser-8006d798ee8d1993ef4b06cce25480f0aea6c4f4.tar.zst
tangerine-wallet-browser-8006d798ee8d1993ef4b06cce25480f0aea6c4f4.zip
Re-center network dropdown
Diffstat (limited to 'ui')
-rw-r--r--ui/app/app.js4
-rw-r--r--ui/app/components/dropdown.js3
2 files changed, 5 insertions, 2 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index 6da48b9b6..4ecc6d6d5 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -206,7 +206,9 @@ App.prototype.renderNetworkDropdown = function () {
left: '2px',
top: '36px',
},
- innerStyle: {},
+ innerStyle: {
+ padding: '2px 16px 2px 0px',
+ },
}, [
h(
diff --git a/ui/app/components/dropdown.js b/ui/app/components/dropdown.js
index e77b4c40c..70ed388f4 100644
--- a/ui/app/components/dropdown.js
+++ b/ui/app/components/dropdown.js
@@ -7,7 +7,7 @@ const noop = () => {}
class Dropdown extends Component {
render () {
- const { isOpen, onClickOutside, style, children } = this.props
+ const { isOpen, onClickOutside, style, innerStyle, children } = this.props
return h(
MenuDroppo,
@@ -21,6 +21,7 @@ class Dropdown extends Component {
padding: '8px 16px',
background: 'rgba(0, 0, 0, 0.8)',
boxShadow: 'rgba(0, 0, 0, 0.15) 0px 2px 2px 2px',
+ ...innerStyle,
},
},
[