From 3030fcb6b688bcbfe677eac31bdee02935acb0d7 Mon Sep 17 00:00:00 2001 From: dhaneshwar Date: Sun, 8 Oct 2023 12:34:24 +0530 Subject: [PATCH] added cursor pointer on avatar and made menu closer to avatar --- package.json | 2 +- src/components/NavBar/new/MainNavbar/RightMenu.jsx | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index f0068d9a..2eebeed4 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/components/NavBar/new/MainNavbar/RightMenu.jsx b/src/components/NavBar/new/MainNavbar/RightMenu.jsx index 5a62d2b6..dd37606e 100644 --- a/src/components/NavBar/new/MainNavbar/RightMenu.jsx +++ b/src/components/NavBar/new/MainNavbar/RightMenu.jsx @@ -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} @@ -260,7 +261,7 @@ const RightMenu = ({ mode, onClick }) => { data-testId="nav-user" > {acronym} - + { open={open} onClose={handleClose} style={{ - marginTop: "3rem", + marginTop: "1rem", zIndex: 999999 }} className={classes.menu}