Skip to content
Snippets Groups Projects
Unverified Commit 1dce4b8b authored by Ahmad Farhat's avatar Ahmad Farhat Committed by GitHub
Browse files

Simplify profile dropdown (#4768)

parent 940b58fd
No related branches found
No related tags found
No related merge requests found
......@@ -211,21 +211,25 @@ input.search-bar {
}
#nav-user-dropdown {
padding: 6px;
padding: 6px 0px 6px 6px;
border-radius: $border-radius;
&:hover {
color: var(--brand-color);
background-color: var(--brand-color-light);
background-color: white;
color: black !important;
}
&:active {
background-color: var(--brand-color-light) !important;
background-color: white !important;
}
&:focus {
background-color: var(--brand-color-light) !important;
background-color: white !important;
}
&::after {
display: none;
}
#chevron-profile {
padding-top: 2px;
}
}
.dropdown-menu.show {
......
......@@ -73,8 +73,8 @@ export default function NavbarSignedIn({ currentUser }) {
title={(
<Stack direction="horizontal" gap={2}>
<Avatar avatar={currentUser?.avatar} size="small" />
<span className="text-brand ms-1">{currentUser?.name}</span>
<ChevronDownIcon className="hi-s text-muted" />
<span className="ms-1">{currentUser?.name}</span>
<ChevronDownIcon id="chevron-profile" className="hi-s text-muted" />
</Stack>
)}
id="nav-user-dropdown"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment