From 49970eb1d7b59f9a39f3b1508ebf54568f93308c Mon Sep 17 00:00:00 2001 From: Lukas May Date: Fri, 6 Mar 2026 11:44:45 +0100 Subject: [PATCH] fix: Use overflow-clip instead of overflow-hidden on FileCard overflow-hidden creates a scroll container that breaks sticky positioning for file headers. overflow-clip provides the same visual clipping for rounded corners without affecting the scroll/sticky context. --- apps/web/src/components/review/FileCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/components/review/FileCard.tsx b/apps/web/src/components/review/FileCard.tsx index 16100db..87b2b5c 100644 --- a/apps/web/src/components/review/FileCard.tsx +++ b/apps/web/src/components/review/FileCard.tsx @@ -79,7 +79,7 @@ export function FileCard({ const tokenMap = useHighlightedFile(file.newPath, allLines); return ( -
+
{/* File header — sticky so it stays visible when scrolling */}