From f428ec027e57c1800427e41538f539669e118cda Mon Sep 17 00:00:00 2001 From: Lukas May Date: Fri, 6 Mar 2026 11:36:28 +0100 Subject: [PATCH] fix: Sticky file headers sit below review header using CSS variable Sets --review-header-h on the card wrapper from measured header height. FileCard reads it for sticky top offset so file headers dock just below the review header instead of overlapping it. --- apps/web/src/components/review/FileCard.tsx | 3 ++- apps/web/src/components/review/ReviewTab.tsx | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/web/src/components/review/FileCard.tsx b/apps/web/src/components/review/FileCard.tsx index 5606de4..16100db 100644 --- a/apps/web/src/components/review/FileCard.tsx +++ b/apps/web/src/components/review/FileCard.tsx @@ -82,7 +82,8 @@ export function FileCard({
{/* File header — sticky so it stays visible when scrolling */}