From 34152864250eb28fc73ee4164cdbbd990d3bd0fa Mon Sep 17 00:00:00 2001 From: EENE Dashboard Date: Sat, 6 Jun 2026 00:03:42 +0900 Subject: [PATCH] fix: keep stat number and unit colors when filter is active MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Only the label text turns white on click; accent colors on values and 건 opacity stay unchanged. Co-authored-by: Cursor --- frontend/src/components/dashboard/DashboardHeader.tsx | 2 +- frontend/src/index.css | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/frontend/src/components/dashboard/DashboardHeader.tsx b/frontend/src/components/dashboard/DashboardHeader.tsx index 56771ae..b2a0bd5 100644 --- a/frontend/src/components/dashboard/DashboardHeader.tsx +++ b/frontend/src/components/dashboard/DashboardHeader.tsx @@ -124,7 +124,7 @@ function StatClick({ label, value, statusKey, activeStatus, accent, onClick }: S }`} > {label}{' '} - {value} + {value} ); diff --git a/frontend/src/index.css b/frontend/src/index.css index 54b179b..fa11734 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -173,8 +173,3 @@ body, box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3); } -.poly-click-stat.active .poly-stat-val, -.poly-click-stat.active .poly-stat-unit { - color: #fff; - opacity: 1; -}