diff --git a/webui/src/components/ChatList.tsx b/webui/src/components/ChatList.tsx index 380c9c30f..034ccddeb 100644 --- a/webui/src/components/ChatList.tsx +++ b/webui/src/components/ChatList.tsx @@ -1082,7 +1082,7 @@ export const ChatList = memo(function ChatList({ @@ -1275,10 +1275,10 @@ function WorkbenchTabHeader({ onClick={onToggle} className={cn( "relative inline-flex h-6 w-3.5 shrink-0 items-center justify-center rounded-md before:absolute before:-inset-x-1 before:inset-y-0", - "text-sidebar-muted-foreground transition-[background-color,color,transform] duration-150 ease-out", - "media-hover:hover:bg-sidebar-accent media-hover:hover:text-sidebar-foreground active:scale-[0.96]", + "text-sidebar-muted-foreground transition-[color] duration-150 ease-out", + "media-hover:hover:text-sidebar-foreground", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/60", - "motion-reduce:transition-none motion-reduce:active:scale-100", + "motion-reduce:transition-none ", )} > onClose(session.key)} - className="inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-md text-sidebar-muted-foreground transition-colors media-hover:hover:bg-destructive/10 media-hover:hover:text-destructive focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/60" + className="inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-md text-sidebar-muted-foreground transition-colors media-hover:hover:text-destructive focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/60" > @@ -1776,10 +1776,10 @@ function ProjectGroupHeader({ onClick={onToggle} className={cn( "relative inline-flex h-6 w-3.5 shrink-0 items-center justify-center rounded-md before:absolute before:-inset-x-1 before:inset-y-0", - "text-sidebar-muted-foreground transition-[background-color,color,transform] duration-150 ease-out", - "media-hover:hover:bg-sidebar-accent media-hover:hover:text-sidebar-foreground active:scale-[0.96]", + "text-sidebar-muted-foreground transition-[color] duration-150 ease-out", + "media-hover:hover:text-sidebar-foreground", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/60", - "motion-reduce:transition-none motion-reduce:active:scale-100", + "motion-reduce:transition-none ", )} > @@ -219,8 +209,8 @@ export function MessageBlockMenuActions({ aria-label={t("message.forkFromHere")} className={cn( "inline-flex h-[var(--message-block-control-size)] w-[var(--message-block-action-width)] items-center justify-center rounded-control", - "text-muted-foreground transition-[color,background-color,scale]", - "hover:bg-muted/70 hover:text-foreground active:scale-[0.96]", + "text-muted-foreground transition-colors", + "hover:text-foreground", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", "motion-reduce:transform-none", sheet && "w-full justify-start gap-2 px-2 text-sm", @@ -256,8 +246,7 @@ export function MessageBlockMenuActions({ data-message-block-activity-icon className={cn( "inline-flex h-[var(--message-block-control-size)] w-[var(--message-block-action-width)] shrink-0 items-center justify-center rounded-control", - "transition-[background-color,box-shadow,scale]", - "group-hover:bg-muted/70 group-active:scale-[0.96]", + "transition-colors", "group-focus-visible:ring-2 group-focus-visible:ring-ring", "motion-reduce:transform-none", sheet && "w-3.5", diff --git a/webui/src/components/PreviewPane.tsx b/webui/src/components/PreviewPane.tsx index efd1c40a7..4dc3459eb 100644 --- a/webui/src/components/PreviewPane.tsx +++ b/webui/src/components/PreviewPane.tsx @@ -51,7 +51,7 @@ export function PreviewPane({ tabs, activeId, width, isClosing, onSelect, onClos ? remaining[Math.min(index, remaining.length - 1)]?.id ?? null : activeId; onCloseTab(tab.id); }; - const iconButton = "touch-target inline-flex size-8 shrink-0 items-center justify-center rounded-control text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"; + const iconButton = "touch-target inline-flex size-8 shrink-0 items-center justify-center rounded-control text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"; return