Skip to content

Commit

Permalink
added cursor pointer on avatar and made menu closer to avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhaneshwarguiyan committed Oct 8, 2023
1 parent 48962c1 commit 3030fcb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"dompurify": "^3.0.5",
"elasticlunr": "^0.9.5",
"emoji-picker-react": "^4.4.9",
"firebase": "^9.17.2",
"firebase": "^9.23.0",
"history": "^4.10.1",
"lodash": "^4.17.20",
"prop-types": "^15.7.2",
Expand Down
7 changes: 4 additions & 3 deletions src/components/NavBar/new/MainNavbar/RightMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,8 @@ const RightMenu = ({ mode, onClick }) => {
? "#fffff"
: "#3AAFA9",
marginLeft: "1rem",
marginBottom: ".2rem"
marginBottom: ".2rem",
cursor:"pointer",
}}
size={mode === "inline" ? "default" : "medium"}
src={profile.photoURL}
Expand All @@ -260,15 +261,15 @@ const RightMenu = ({ mode, onClick }) => {
data-testId="nav-user"
>
{acronym}
</Avatar>
</Avatar>
<Menu
id="fade-menu"
anchorEl={anchorEl}
keepMounted
open={open}
onClose={handleClose}
style={{
marginTop: "3rem",
marginTop: "1rem",
zIndex: 999999
}}
className={classes.menu}
Expand Down

0 comments on commit 3030fcb

Please sign in to comment.