From ec4f5f2dba07847634ac4f483deb361eca653c5f Mon Sep 17 00:00:00 2001 From: gaoziman <2942894660@qq.com> Date: Wed, 24 Dec 2025 00:08:43 +0800 Subject: [PATCH] =?UTF-8?q?style(UI):=20=E7=BB=9F=E4=B8=80=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E5=9C=86=E8=A7=92=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Modal: - 圆角从 rounded-xl 调整为 rounded-md ToolsDropdown: - 按钮样式简化,移除条件样式 - 下拉菜单和列表项圆角统一为 rounded-md --- src/components/features/ToolsDropdown.tsx | 11 +++-------- src/components/ui/Modal.tsx | 2 +- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/components/features/ToolsDropdown.tsx b/src/components/features/ToolsDropdown.tsx index de04f95..3521437 100644 --- a/src/components/features/ToolsDropdown.tsx +++ b/src/components/features/ToolsDropdown.tsx @@ -47,12 +47,7 @@ export function ToolsDropdown({ tools, onToolToggle, onEnableAllToggle }: ToolsD @@ -67,7 +62,7 @@ export function ToolsDropdown({ tools, onToolToggle, onEnableAllToggle }: ToolsD {/* 下拉菜单 */}
onToolToggle(tool.id)} - className="flex items-center gap-3 w-full px-3 py-2 rounded-lg hover:bg-[var(--color-bg-hover)] transition-colors" + className="flex items-center gap-3 w-full px-3 py-2 rounded-md hover:bg-[var(--color-bg-hover)] transition-colors" > {Icon && } diff --git a/src/components/ui/Modal.tsx b/src/components/ui/Modal.tsx index 172f8fc..eaf2219 100644 --- a/src/components/ui/Modal.tsx +++ b/src/components/ui/Modal.tsx @@ -87,7 +87,7 @@ export function Modal({