Skip to content

Commit dcc52e4

Browse files
juliusmarmingecodex
andcommitted
fix(web): soften changed files sticky header
Co-authored-by: codex <[email protected]>
1 parent 90bcbb2 commit dcc52e4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ export const ChangedFilesCard = memo(function ChangedFilesCard(props: {
3333
const summaryStat = useMemo(() => summarizeTurnDiffStats(files), [files]);
3434

3535
return (
36-
<div className="mt-4 rounded-2xl border border-input bg-background p-2 pt-4 shadow-xs/5 not-dark:bg-clip-padding dark:bg-input/32">
37-
<div className="sticky top-2 z-10 mb-3 flex items-center justify-between gap-2 bg-background px-2 before:absolute before:inset-x-0 before:-top-4 before:h-4 before:bg-inherit before:content-[''] dark:bg-[color-mix(in_srgb,var(--input)_32%,var(--background))]">
36+
<div className="mt-4 rounded-2xl border border-input bg-card/40 p-2 pt-4 shadow-xs/5 not-dark:bg-clip-padding">
37+
<div className="sticky top-2 z-10 mb-3 flex items-center justify-between gap-2 bg-card/72 px-2 backdrop-blur-md before:absolute before:inset-x-0 before:-top-4 before:h-4 before:bg-inherit before:content-['']">
3838
<p className="flex self-start items-center gap-1 font-medium text-foreground text-xs leading-4">
3939
<span>{files.length} changed files</span>
4040
{hasNonZeroStat(summaryStat) && (

0 commit comments

Comments
 (0)