mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Re-center network dropdown
This commit is contained in:
parent
4c0f827946
commit
8006d798ee
@ -206,7 +206,9 @@ App.prototype.renderNetworkDropdown = function () {
|
||||
left: '2px',
|
||||
top: '36px',
|
||||
},
|
||||
innerStyle: {},
|
||||
innerStyle: {
|
||||
padding: '2px 16px 2px 0px',
|
||||
},
|
||||
}, [
|
||||
|
||||
h(
|
||||
|
@ -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,
|
||||
},
|
||||
},
|
||||
[
|
||||
|
Loading…
Reference in New Issue
Block a user