Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 974f0ca

Browse files
authoredJul 23, 2020
Merge pull request #544 from topcoder-platform/issue-65
fix issue #65
2 parents 73c664c + da78a32 commit 974f0ca

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed
 

‎client/src/components/Header/index.jsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import { clearOrg } from "../../services/user-org";
1212

1313
import style from "./style.module.scss";
1414
import logo from "../../assets/images/u-bahn-logo.svg";
15+
import iconStyles from "../../styles/icons.module.css";
1516

1617
export const TABS = {
1718
GROUPS: "GROUPS",
@@ -94,7 +95,11 @@ export default function Header({
9495
>
9596
{user.nickname}
9697
{organization ? <>&nbsp;({organization.name})</> : ""}
97-
<DownArrow className={style.downArrow} />
98+
{showAccountDropdown ? (
99+
<div className={`${iconStyles.chevronUpG} ${style.arrow}`}></div>
100+
) : (
101+
<div className={`${iconStyles.chevronDownG} ${style.arrow}`}></div>
102+
)}
98103
{showAccountDropdown && (
99104
<ul className={style.dropdown}>
100105
<li

‎client/src/components/Header/style.module.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
justify-content: flex-end;
1616
min-width: 100px;
1717

18+
.arrow {
19+
margin-left: 15px;
20+
}
21+
1822
.dropdown {
1923
position: absolute;
2024
top: 100%;

0 commit comments

Comments
 (0)
This repository has been archived.