Skip to content

Commit 99f0aa3

Browse files
Merge pull request #4892 from gets0ul/issue-4294
Fix for Issue #4294 Dropdown hidden behind on profile settings page
2 parents c7e17cf + 980bbc4 commit 99f0aa3

File tree

5 files changed

+11
-3
lines changed

5 files changed

+11
-3
lines changed

__tests__/shared/components/Header/__snapshots__/index.jsx.snap

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`Default render 1`] = `
4-
<div>
4+
<div
5+
className="src-shared-components-Header-___style__nav-header-wrapper___3oH9J"
6+
>
57
<TopNav
68
loggedIn={true}
79
logo={

src/shared/components/Header/index.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import { config } from 'topcoder-react-utils';
55
import Logo from 'assets/images/tc-logo.svg';
66
import { tracking } from '../../actions';
77

8+
import './style.scss';
9+
810
let TopNavRef;
911
let LoginNavRef;
1012

@@ -69,7 +71,7 @@ const Header = ({
6971

7072
if (TopNavRef) {
7173
return (
72-
<div>
74+
<div styleName="nav-header-wrapper">
7375
<TopNavRef
7476
menu={headerMenu || config.HEADER_MENU}
7577
rightMenu={(
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.nav-header-wrapper {
2+
z-index: 2;
3+
}

src/shared/components/TopcoderFooter/style.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
font-weight: 400;
7373
line-height: 21px;
7474
position: relative;
75+
z-index: 0;
7576

7677
@include xs-to-sm {
7778
padding: 30px 30px 21px 30px;

src/shared/routes/Topcoder/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
display: flex;
99
flex: 1 0 auto;
1010
position: relative;
11-
z-index: 0;
11+
z-index: 1;
1212
}
1313
}

0 commit comments

Comments
 (0)