The best way to control Claude Code, Codex and more from any computer or phone
fix(web): stacked composer banners no longer show dark seam bands (#32683)
Co-authored-by: maria-rcks <maria@kuuro.net> Co-authored-by: Julius Marminge <julius0216@outlook.com>
Pulsar Programmer committed
Nov 15, 2026 at 01:23 UTC
f52fba48d96711ff2e673d5529a9a7a49cde34bc
2 files changed
+3
-1
apps/web/src/components/chat/ComposerBanner.tsx
+2
@@ -77,6 +77,8 @@ function Attachment({ className, ...props }: ComponentProps<"div">) {
77
data-slot="composer-banner-attachment"
78
className={cn(
79
"mx-auto -mb-[calc(1rem+1px)] w-[calc(100%-2*var(--chat-composer-drawer-inset))]",
80
+ // Only the banner touching the composer gets the dark seam shade; stacked ones would band.
81
+ "[&:has(+[data-slot=composer-banner-attachment])]:[--chat-composer-attached-seam:transparent]",
82
"[&+[data-slot=composer-banner-attachment]_[data-composer-banner-surface=attached]]:before:rounded-none [&+[data-slot=composer-banner-attachment]_[data-composer-banner-surface=attached]]:before:border-t-0 [&+[data-slot=composer-banner-attachment]_[data-composer-banner-surface=attached]]:[--composer-banner-corner-top:var(--control-radius)]",
83
className,
84
)}
apps/web/src/index.css
+1
-1
@@ -216,7 +216,7 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil
216
linear-gradient(
217
to top,
218
transparent 0 var(--chat-composer-attachment-overlap),
219
- rgb(0 0 0 / 18%) var(--chat-composer-attachment-overlap),
219
+ var(--chat-composer-attached-seam, rgb(0 0 0 / 18%)) var(--chat-composer-attachment-overlap),
220
transparent calc(var(--chat-composer-attachment-overlap) + 10px)
221
);
222
--color-zinc-25: oklch(99.2% 0 0);