From 7745c83bbd29dcb6dcb5f14aafed9609a6686ba1 Mon Sep 17 00:00:00 2001 From: benzbarquilla Date: Mon, 16 Mar 2026 17:33:05 +0800 Subject: [PATCH] added active state --- frontend/src/app/components/icons/ellipsis.jsx | 9 ++------- frontend/src/app/components/navbar/navright/Profile.jsx | 5 ++++- .../src/app/components/navbar/navright/styles.module.css | 6 +++++- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/frontend/src/app/components/icons/ellipsis.jsx b/frontend/src/app/components/icons/ellipsis.jsx index f30cf0b..6461688 100644 --- a/frontend/src/app/components/icons/ellipsis.jsx +++ b/frontend/src/app/components/icons/ellipsis.jsx @@ -1,11 +1,6 @@ import React from "react"; -const ellipsis = ({ - width = "24", - height = "24", - color = "#858699", - style, -}) => { +const ellipsis = ({ width = "24", height = "24", style }) => { return ( ); diff --git a/frontend/src/app/components/navbar/navright/Profile.jsx b/frontend/src/app/components/navbar/navright/Profile.jsx index fff1cda..107b235 100644 --- a/frontend/src/app/components/navbar/navright/Profile.jsx +++ b/frontend/src/app/components/navbar/navright/Profile.jsx @@ -41,7 +41,10 @@ const Profile = () => { {/* Mobile Ellipsis */} {isMobile && ( -
setOpen(!open)}> +
setOpen(!open)} + >
)} diff --git a/frontend/src/app/components/navbar/navright/styles.module.css b/frontend/src/app/components/navbar/navright/styles.module.css index fb91566..ab949f0 100644 --- a/frontend/src/app/components/navbar/navright/styles.module.css +++ b/frontend/src/app/components/navbar/navright/styles.module.css @@ -153,7 +153,9 @@ .rotated { transform: rotate(90deg); } - +.mobileEllipsis.active { + color: #959aff; +} /* Mobile */ @media (max-width: 768px) { .dropdownContainer { @@ -178,6 +180,8 @@ align-items: center; gap: 10px; padding-right: 10px; + cursor: pointer; + color: #85869b; } .profileBadge {