From 9d6dd892edbca95c63778b0611b68b684cd647d7 Mon Sep 17 00:00:00 2001 From: dr-baker Date: Mon, 26 Oct 2026 00:16:23 -0700 Subject: [PATCH] continuous composer outline above attached controls - remove the shared outline cutout from the host and main input surfaces --- apps/web/src/components/chat/ComposerSurface.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/apps/web/src/components/chat/ComposerSurface.tsx b/apps/web/src/components/chat/ComposerSurface.tsx index 5a9f398e3c6e4..44b6b9dc52162 100644 --- a/apps/web/src/components/chat/ComposerSurface.tsx +++ b/apps/web/src/components/chat/ComposerSurface.tsx @@ -37,9 +37,6 @@ function Shell({ const outlineClasses = "after:pointer-events-none after:absolute after:inset-0 after:rounded-[inherit] after:border after:border-(--chat-composer-outline) dark:after:inset-shadow-2xs dark:after:inset-shadow-(color:--chat-composer-highlight)"; -const contextSeamClasses = - "group-data-with-context/composer-surface:after:[clip-path:polygon(0_0,100%_0,100%_100%,calc(100%-22px)_100%,calc(100%-22px)_calc(100%-2px),22px_calc(100%-2px),22px_100%,0_100%)]"; - function Host({ className, ...props }: ComponentProps<"div">) { return (
) { className={cn( "relative z-10 w-full rounded-2xl shadow-composer after:z-1 dark:shadow-none", outlineClasses, - contextSeamClasses, "group-has-data-[composer-banner-surface=attached]/composer-surface:shadow-none group-has-data-[composer-banner-surface=attached]/composer-surface:after:hidden", className, )} @@ -64,7 +60,6 @@ function Main({ className, ...props }: ComponentProps<"div">) { "group relative z-10 rounded-2xl p-px", "group-data-model-strip-transition/composer-surface:bg-(--chat-composer-glass-surface)/(--glass-opacity) group-data-model-strip-transition/composer-surface:backdrop-blur-(--glass-blur) group-data-model-strip-transition/composer-surface:backdrop-saturate-(--glass-saturation)", outlineClasses, - contextSeamClasses, "after:z-20 after:hidden group-has-data-[composer-banner-surface=attached]/composer-surface:after:block group-data-model-strip-transition/composer-surface:after:block", "group-has-data-[composer-banner-surface=attached]/composer-surface:bg-(--chat-composer-glass-surface)/(--glass-opacity) group-has-data-[composer-banner-surface=attached]/composer-surface:backdrop-blur-(--glass-blur) group-has-data-[composer-banner-surface=attached]/composer-surface:backdrop-saturate-(--glass-saturation)", "group-has-data-[composer-banner-surface=attached]/composer-surface:shadow-composer dark:group-has-data-[composer-banner-surface=attached]/composer-surface:shadow-none",