File tree Expand file tree Collapse file tree
apps/web/src/components/chat Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,7 +53,11 @@ export const ThreadHandoffTab = memo(function ThreadHandoffTab({
5353 type = "button"
5454 aria-label = { `${ offer . spentAccountName } is out of capacity — continue on ${ offer . targetAccountName } ` }
5555 className = { cn (
56- "absolute -top-3 right-3 z-10 inline-flex h-6 items-center gap-1.5 rounded-t-md rounded-b-none" ,
56+ // The composer frame is rounded-[22px], so the inset has to clear
57+ // that radius: anything smaller lands the tab on the curve, where
58+ // its square bottom edge cannot sit flush and it reads as floating
59+ // beside the composer rather than attached to it.
60+ "absolute -top-3 right-6 z-10 inline-flex h-6 items-center gap-1.5 rounded-t-md rounded-b-none" ,
5761 "border border-b-0 border-warning/30 bg-warning/12 px-2 text-xs font-medium text-warning" ,
5862 "hover:bg-warning/18" ,
5963 ) }
You can’t perform that action at this time.
0 commit comments