From 3ccc47ca5ac68fa3f76acd2b142574d988b34d9f Mon Sep 17 00:00:00 2001 From: kurihada Date: Fri, 12 Dec 2025 17:56:47 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=E4=BF=AE=E5=A4=8D=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E5=9B=BE=E6=A0=87=E4=B8=8D=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除 motion.button 的 initial opacity 设置,避免覆盖 CSS hover 样式 --- packages/ui/src/components/Sidebar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/src/components/Sidebar.tsx b/packages/ui/src/components/Sidebar.tsx index b4708e5..a817513 100644 --- a/packages/ui/src/components/Sidebar.tsx +++ b/packages/ui/src/components/Sidebar.tsx @@ -152,8 +152,8 @@ export function Sidebar({
{session.messageCount} messages
handleDelete(session.id, e)} className="opacity-0 group-hover:opacity-100 p-1 hover:bg-gray-600 rounded transition-opacity" aria-label="Delete session"