Skip to content
TypeScript

fix(web): repo/task breadcrumb no longer bounces when the sidebar collapses (#15046)

oliver237d51e6cd2f
diff --git a/apps/web/src/components/ChatView.tsx b/apps/web/src/components/ChatView.tsx
index 5ef916db839..aed3cddf649 100644
--- a/apps/web/src/components/ChatView.tsx
+++ b/apps/web/src/components/ChatView.tsx
@@ -10782,7 +10782,7 @@ export default function ChatView(props: ChatViewProps) {
ref={threadPanelPopoverAnchorRef}
data-chat-header
className={cn(
- "relative bg-background transition-[padding-left] duration-200 ease-linear motion-reduce:transition-none",
+ "relative bg-background [[data-panel-animations=true]_&]:motion-safe:transition-[padding-left] [[data-panel-animations=true]_&]:motion-safe:duration-(--panel-animation-duration) [[data-panel-animations=true]_&]:motion-safe:ease-out",
isElectron
? cn(
"drag-region flex h-[var(--workspace-topbar-height)] min-h-[var(--workspace-topbar-height)] shrink-0 items-center px-3 sm:px-5",