authorgravatar for 97427849+flamboh@users.noreply.github.comoliver <97427849+flamboh@users.noreply.github.com> 2026-10-03 12:58:09-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-10-03 16:58:09-03:00
log39efcd855833a1486ff7662e2efcedeeee6be0cc
tree5d4a97dfc7fca2867652582f013157be96b97bd6
parent70e5a40c20ddbaab7831ab36e17e64c9908269a5
signature Signed by PGP key B5690EEEBB952194

perf(web): DOM changes no longer restyle the whole page (#15265)


1 files changed, 1 insertions(+), 1 deletions(-)

apps/web/src/components/chat/ComposerBanner.tsx+1-1
...@@ -111,7 +111,7 @@ function Attachment({ className, ...props }: ComponentProps<"div">) {...@@ -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))]",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.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",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,115 className,
116 )}116 )}
117 {...props}117 {...props}