From 9ecfc2bb71721020449f617b503034c16f48fa88 Mon Sep 17 00:00:00 2001 From: fish Date: Mon, 6 Jul 2026 13:00:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=A7=E8=BE=B9=E6=A0=8F=E5=BA=95=E9=83=A8?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E8=AE=BE=E7=BD=AE=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude --- serve/frontend/src/components/Layout.tsx | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/serve/frontend/src/components/Layout.tsx b/serve/frontend/src/components/Layout.tsx index a1d891a..41edf3a 100644 --- a/serve/frontend/src/components/Layout.tsx +++ b/serve/frontend/src/components/Layout.tsx @@ -209,30 +209,16 @@ export function Layout() { )} - {/* 暗夜模式 + 设置 */} -
+ {/* 暗夜模式 */} +
- - cn( - 'flex items-center justify-center rounded-btn p-1.5 text-xs transition-colors', - isActive - ? 'bg-accent/10 text-accent' - : 'text-foreground/70 hover:bg-elevated hover:text-foreground', - ) - } - title="设置" - > - -