Skip to content

Commit 53a155a

Browse files
fix(web): context row under the composer hides chat text scrolling behind it
With 'Keep composer context visible' on, the workspace and branch row under the composer had no background, so timeline text scrolled through its labels. Give the row the page-coloured glass surface so it hides what scrolls behind it while looking unchanged at rest. Fixes #27512 AI-assisted; verified with the tests and tools listed above.
1 parent 6ba3de7 commit 53a155a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ function Main({ className, ...props }: ComponentProps<"div">) {
6868
);
6969
}
7070

71-
/** A plain row under the card (environment, worktree, branch) with no surface of its own. */
71+
/** A row under the card (environment, worktree, branch); page-coloured glass hides the timeline scrolling behind it. */
7272
function ContextStrip({ className, ...props }: ComponentProps<"div">) {
7373
return (
7474
<div
7575
data-slot="composer-context-strip"
7676
className={cn(
77-
"group/composer-context relative flex w-full items-center gap-2 overflow-x-clip px-2 pt-2 text-muted-foreground",
77+
"group/composer-context surface-glass relative flex w-full items-center gap-2 overflow-x-clip px-2 pt-2 text-muted-foreground",
7878
className,
7979
)}
8080
{...props}

0 commit comments

Comments
 (0)