From 657c02a49f4421f44637b9851ec977a42bb82476 Mon Sep 17 00:00:00 2001 From: Montia37 Date: Sun, 7 Sep 2025 15:54:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D4=E5=B0=8F=E6=97=B6?= =?UTF-8?q?=E8=B4=9F=E8=BD=BD=E5=9B=BE=E8=A1=A8=E6=95=B0=E6=8D=AE=E6=B8=B2?= =?UTF-8?q?=E6=9F=93=E5=92=8C=E4=B8=8B=E6=8B=89=E8=8F=9C=E5=8D=95=E5=8A=A8?= =?UTF-8?q?=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/sections/Header.tsx | 60 +++++++++++++++++------------ src/components/ui/dropdown-menu.css | 29 ++++++++++++++ src/components/ui/dropdown-menu.tsx | 24 +++++++----- src/hooks/useLoadCharts.ts | 9 ++++- 4 files changed, 86 insertions(+), 36 deletions(-) create mode 100644 src/components/ui/dropdown-menu.css diff --git a/src/components/sections/Header.tsx b/src/components/sections/Header.tsx index d1b1b1c..a6b8365 100644 --- a/src/components/sections/Header.tsx +++ b/src/components/sections/Header.tsx @@ -70,43 +70,49 @@ export const Header = ({ <> {isMobile ? ( <> -
- ) => - setSearchTerm(e.target.value) - } - /> -
{enableSearchButton && ( - + + + + + +
+ + ) => setSearchTerm(e.target.value)} + /> +
+
+
)} - + + className="purcarte-blur border-border rounded-xl"> setViewMode(viewMode === "grid" ? "table" : "grid") @@ -167,8 +173,12 @@ export const Header = ({ )}