@devries-cameron20 / t3code Mirror · read-only / commits / b90b8052c4
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 23, 04:15 UTC

fix(web): close the gap between the composer and its bottom toolbar (#12952)

Co-authored-by: Codex <noreply@openai.com> Co-authored-by: Claude <noreply@anthropic.com>

Scott Norteman committed Oct 18, 2026 at 15:15 UTC b90b8052c4c74b510a79e3f73c9e218571107a52
2 files changed +6 -1
apps/web/src/components/chat/ComposerSurface.tsx
+4 -1
@@ -40,6 +40,7 @@ const outlineClasses =
40 const contextSeamClasses =
41 "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%)]";
42
43 +/** Frames the input while leaving the shared edge open for the context strip's outline. */
44 function Host({ className, ...props }: ComponentProps<"div">) {
45 return (
46 <div
@@ -56,6 +57,7 @@ function Host({ className, ...props }: ComponentProps<"div">) {
57 );
58 }
59
60 +/** Covers the input surface when an attached banner or the model strip transition replaces the outer glass backdrop. */
61 function Main({ className, ...props }: ComponentProps<"div">) {
62 return (
63 <div
@@ -77,13 +79,14 @@ function Main({ className, ...props }: ComponentProps<"div">) {
79 );
80 }
81
82 +/** Extends the composer outline below the input, masking its overlap up to one pixel above the shared edge so no seam shows. */
83 function ContextStrip({ className, ...props }: ComponentProps<"div">) {
84 return (
85 <div
86 data-slot="composer-context-strip"
87 className={cn(
88 "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 px-2 pt-5 pb-1",
86 - "before:absolute before:inset-0 before:-z-1 before:rounded-b-2xl before:border before:border-(--chat-composer-outline) before:mask-b-from-transparent before:mask-b-from-4 before:mask-b-to-black before:mask-b-to-4 before:shadow-composer",
89 + "before:absolute before:inset-0 before:-z-1 before:rounded-b-2xl before:border before:border-(--chat-composer-outline) before:mask-b-from-transparent before:mask-b-from-(length:--spacing-composer-seam) before:mask-b-to-black before:mask-b-to-(length:--spacing-composer-seam) before:shadow-composer",
90 "dark:before:border-white/7 dark:before:bg-composer-seam-below dark:before:shadow-composer-dark",
91 "group-has-data-[composer-banner-surface=attached]/composer-surface:before:bg-(--chat-composer-glass-surface)/(--glass-opacity) 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)",
92 "not-supports-[clip-path:shape(from_0_0,line_to_1px_1px)]:before:bg-(--chat-composer-glass-surface)/(--glass-opacity) 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)",
apps/web/src/index.css
+2
@@ -192,6 +192,8 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil
192 by the composer, its context strip and attached banners. */
193 --shadow-composer: 0 12px 28px -18px rgb(0 0 0 / 40%);
194 --shadow-composer-dark: 0 14px 32px -18px rgb(0 0 0 / 75%);
195 + /* Overlap the lower toolbar backdrop by one pixel to cover the composer seam. */
196 + --spacing-composer-seam: calc(var(--spacing) * 4 - 1px);
197 /* Dark-mode shade where an attached surface meets the composer: 10px of
198 shadow fading away from the seam. Inline, so the offsets resolve on the
199 element. below: the context strip under the composer (1rem seam, faint