Skip to content

Commit b9da964

Browse files
ScottN-PVcodex
andcommitted
fix(web): close the gap between the composer and its bottom toolbar
Extend the context strip backdrop mask one CSS pixel under the composer to cover the lower seam when an attached banner splits the backdrops. Co-authored-by: Codex <[email protected]> AI-Tool: OpenAI Codex AI-Harness: Codex CLI 0.155.1 app-server integration AI-Host: T3 Code desktop app AI-Model: gpt-6-astra AI-Reasoning: medium AI-Contribution: Investigation, implementation, automated checks, evidence preparation
1 parent 371b52d commit b9da964

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/web/src/components/chat/ComposerSurface.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function ContextStrip({ className, ...props }: ComponentProps<"div">) {
8585
data-slot="composer-context-strip"
8686
className={cn(
8787
"group/composer-context relative isolate mx-auto -mt-4 flex w-[calc(100%-2*var(--chat-composer-drawer-inset))] items-center gap-2 overflow-x-clip overflow-y-visible ps-1 pe-2 pt-5 pb-1",
88-
"before:absolute before:inset-0 before:-z-1 before:rounded-b-[16px] before:border before:border-(--chat-composer-outline) before:mask-[linear-gradient(to_bottom,transparent_0_1rem,black_1rem)] before:shadow-[0_12px_28px_-18px_rgb(0_0_0/40%)]",
88+
"before:absolute before:inset-0 before:-z-1 before:rounded-b-[16px] before:border before:border-(--chat-composer-outline) before:mask-[linear-gradient(to_bottom,transparent_0_calc(1rem-1px),black_calc(1rem-1px))] before:shadow-[0_12px_28px_-18px_rgb(0_0_0/40%)]",
8989
"dark:before:border-white/7 dark:before:bg-[linear-gradient(to_bottom,transparent_0_1rem,rgb(0_0_0/18%)_1rem,transparent_calc(1rem+10px)),linear-gradient(rgb(255_255_255/1%),rgb(255_255_255/1%))] dark:before:shadow-[0_14px_32px_-18px_rgb(0_0_0/75%)]",
9090
"group-has-data-[composer-banner-surface=attached]/composer-surface:before:bg-[color-mix(in_srgb,var(--chat-composer-glass-surface)_var(--glass-opacity),transparent)] group-has-data-[composer-banner-surface=attached]/composer-surface:before:backdrop-blur-(--glass-blur) group-has-data-[composer-banner-surface=attached]/composer-surface:before:backdrop-saturate-(--glass-saturation)",
9191
"not-supports-[clip-path:shape(from_0_0,line_to_1px_1px)]:before:bg-[color-mix(in_srgb,var(--chat-composer-glass-surface)_var(--glass-opacity),transparent)] not-supports-[clip-path:shape(from_0_0,line_to_1px_1px)]:before:backdrop-blur-(--glass-blur) not-supports-[clip-path:shape(from_0_0,line_to_1px_1px)]:before:backdrop-saturate-(--glass-saturation)",

0 commit comments

Comments
 (0)