1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +01:00

Merge pull request #402 from MetaMask/z-position-fix

Fix dropdown z-index issue.
This commit is contained in:
Dan Finlay 2016-07-06 20:24:28 -07:00 committed by GitHub
commit a038eed6e3
2 changed files with 4 additions and 3 deletions

View File

@ -4,6 +4,7 @@
- Fix formatting of ETH balance
- Fix formatting of account details.
- Fix issue where dropdowns were not in front of icons.
## 2.5.0 2016-06-29

View File

@ -108,7 +108,7 @@ App.prototype.renderAppBar = function () {
background: props.isUnlocked ? 'white' : 'none',
height: '36px',
position: 'relative',
zIndex: 1,
zIndex: 2,
},
}, props.isUnlocked && [
@ -197,10 +197,10 @@ App.prototype.renderNetworkDropdown = function () {
onClickOutside: (event) => {
this.setState({ isNetworkMenuOpen: !isOpen })
},
zIndex: 1,
style: {
position: 'absolute',
left: 0,
zIndex: 0,
},
innerStyle: {
background: 'white',
@ -245,13 +245,13 @@ App.prototype.renderDropdown = function () {
return h(MenuDroppo, {
isOpen: isOpen,
zIndex: 1,
onClickOutside: (event) => {
this.setState({ isMainMenuOpen: !isOpen })
},
style: {
position: 'absolute',
right: 0,
zIndex: 0,
},
innerStyle: {
background: 'white',