Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

fix issue #65 #544

Merged
merged 3 commits into from
Jul 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion client/src/components/Header/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { clearOrg } from "../../services/user-org";

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

export const TABS = {
GROUPS: "GROUPS",
Expand Down Expand Up @@ -94,7 +95,11 @@ export default function Header({
>
{user.nickname}
{organization ? <>&nbsp;({organization.name})</> : ""}
<DownArrow className={style.downArrow} />
{showAccountDropdown ? (
<div className={`${iconStyles.chevronUpG} ${style.arrow}`}></div>
) : (
<div className={`${iconStyles.chevronDownG} ${style.arrow}`}></div>
)}
{showAccountDropdown && (
<ul className={style.dropdown}>
<li
Expand Down
4 changes: 4 additions & 0 deletions client/src/components/Header/style.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
justify-content: flex-end;
min-width: 100px;

.arrow {
margin-left: 15px;
}

.dropdown {
position: absolute;
top: 100%;
Expand Down