From acdd40e3bebe561d28fd776044f3ecf71fcf81ea Mon Sep 17 00:00:00 2001 From: Kevin Serrano Date: Wed, 6 Jul 2016 20:11:49 -0700 Subject: [PATCH] Fix dropdown z-index issue. --- CHANGELOG.md | 1 + ui/app/app.js | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8cb788a0d..62dc166a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/ui/app/app.js b/ui/app/app.js index dcc44ee65..4dd41d570 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -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',