The best way to control Claude Code, Codex and more from any computer or phone
perf(web): DOM changes no longer restyle the whole page (#15265)
oliver committed
Oct 3, 2026 at 12:58 UTC
39efcd855833a1486ff7662e2efcedeeee6be0cc
1 file changed
+1
-1
apps/web/src/components/chat/ComposerBanner.tsx
+1
-1
@@ -111,7 +111,7 @@ function Attachment({ className, ...props }: ComponentProps<"div">) {
111
"mx-auto -mb-[calc(1rem+1px)] w-[calc(100%-2*var(--chat-composer-drawer-inset))]",
112
// Adjacent attachments share their outline, including notices outside the form.
113
"[&+[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",
114
- "[&+:has([data-chat-composer-form])_[data-chat-composer-form]>[data-slot=composer-banner-attachment]:first-child_[data-composer-banner-surface=attached]]:before:rounded-none [&+:has([data-chat-composer-form])_[data-chat-composer-form]>[data-slot=composer-banner-attachment]:first-child_[data-composer-banner-surface=attached]]:before:border-t-0",
114
+ "[&+*_[data-chat-composer-form]>[data-slot=composer-banner-attachment]:first-child_[data-composer-banner-surface=attached]]:before:rounded-none [&+*_[data-chat-composer-form]>[data-slot=composer-banner-attachment]:first-child_[data-composer-banner-surface=attached]]:before:border-t-0",
115
className,
116
)}
117
{...props}