Skip to content

Commit 6b3a49b

Browse files
authored
fix(web): stacked composer notices keep their right border (pingdotgg#19044)
1 parent c6dfda8 commit 6b3a49b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎apps/web/src/components/chat/ComposerBannerStack.tsx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,9 @@ export function ComposerBannerStack({ className, items, attachedAbove }: Compose
178178
stackExpanded ? "grid-rows-[1fr]" : "grid-rows-[0fr]",
179179
)}
180180
>
181-
<div className="min-h-0 overflow-hidden">
181+
{/* Clip only the collapsing axis: at fractional widths a horizontal clip
182+
shaves the notice's right border. */}
183+
<div className="min-h-0 overflow-y-clip">
182184
<div
183185
className={cn(
184186
"transform-gpu space-y-2 pb-2 transition-[opacity,transform] duration-150 ease-out will-change-transform",

0 commit comments

Comments
 (0)