diff --git a/src/components/layout/Sidebar.tsx b/src/components/layout/Sidebar.tsx index dfc31e6..90c97ad 100644 --- a/src/components/layout/Sidebar.tsx +++ b/src/components/layout/Sidebar.tsx @@ -179,8 +179,8 @@ export function Sidebar({ @@ -203,8 +203,8 @@ export function Sidebar({ onClick={onToggle} title={collapsed ? "展开侧栏" : "收起侧栏"} className={[ - "group flex h-10 w-full items-center gap-2 overflow-hidden rounded-full border border-hairline-strong text-sm text-muted-foreground transition-[background-color,color,border-color,transform] duration-200 hover:bg-surface-strong hover:text-foreground active:scale-[0.98]", - collapsed ? "justify-center px-0" : "justify-between px-3.5", + "group flex h-10 w-full items-center overflow-hidden rounded-full border border-hairline-strong text-sm text-muted-foreground transition-[background-color,color,border-color,transform] duration-200 hover:bg-surface-strong hover:text-foreground active:scale-[0.98]", + collapsed ? "justify-center gap-0 px-0" : "justify-between gap-2 px-3.5", ].join(" ")} >