From e3a2dfb9d0ca049890c10a9f27124be2eb1a5985 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 39abdec36652fae3f389214675ab0c891f623beb..ab8e723265afe984bce2789ab3dd64ace04f4086 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?.() ?? []; -- 2.54.0