From d3aa5ae0aae697218926955031fc77a225f74a61 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Sun, 1 Mar 2026 10:30:46 -0800 Subject: [PATCH] Fix diff panel padding and top spacing for virtualized files - Use horizontal and bottom padding on the diff render surface - Add top margin to the first diff file for consistent spacing --- apps/web/src/components/DiffPanel.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/components/DiffPanel.tsx b/apps/web/src/components/DiffPanel.tsx index 39abdec366..ab8e723265 100644 --- a/apps/web/src/components/DiffPanel.tsx +++ b/apps/web/src/components/DiffPanel.tsx @@ -547,7 +547,7 @@ export default function DiffPanel({ mode = "inline" }: DiffPanelProps) { ) : renderablePatch.kind === "files" ? ( { const nativeEvent = event.nativeEvent as MouseEvent; const composedPath = nativeEvent.composedPath?.() ?? [];