Skip to content
TypeScript

fix(web): stacked composer notices keep their right border (#19044)

Nikita Maximilian Grimm6b3a49b372bd
diff --git a/apps/web/src/components/chat/ComposerBannerStack.tsx b/apps/web/src/components/chat/ComposerBannerStack.tsx
index fe5d4b5d353..6f710d91231 100644
--- a/apps/web/src/components/chat/ComposerBannerStack.tsx
+++ b/apps/web/src/components/chat/ComposerBannerStack.tsx
@@ -178,7 +178,9 @@ export function ComposerBannerStack({ className, items, attachedAbove }: Compose
stackExpanded ? "grid-rows-[1fr]" : "grid-rows-[0fr]",
)}
>
- <div className="min-h-0 overflow-hidden">
+ {/* Clip only the collapsing axis: at fractional widths a horizontal clip
+ shaves the notice's right border. */}
+ <div className="min-h-0 overflow-y-clip">
<div
className={cn(
"transform-gpu space-y-2 pb-2 transition-[opacity,transform] duration-150 ease-out will-change-transform",