1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-22 17:33:23 +01:00

Fix dropdown z-index issue.

This commit is contained in:
Kevin Serrano 2016-07-06 20:11:49 -07:00
parent fb363b8a62
commit acdd40e3be
2 changed files with 4 additions and 3 deletions

View File

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

View File

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