Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
Fix diff panel padding and top spacing for virtualized files
Julius Marmingee3a2dfb9d0ca
diff --git a/apps/web/src/components/DiffPanel.tsx b/apps/web/src/components/DiffPanel.tsxindex 39abdec36..ab8e72326 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) {</div>) : renderablePatch.kind === "files" ? (<Virtualizer- className="diff-render-surface h-full min-h-0 overflow-auto p-2 "+ className="diff-render-surface h-full min-h-0 overflow-auto px-2 pb-2"config={{overscrollSize: 600,intersectionObserverMargin: 1200,@@ -561,7 +561,7 @@ export default function DiffPanel({ mode = "inline" }: DiffPanelProps) {<divkey={themedFileKey}data-diff-file-path={filePath}- className="diff-render-file mb-2 rounded-md last:mb-0"+ className="diff-render-file mb-2 rounded-md first:mt-2 last:mb-0"onClickCapture={(event) => {const nativeEvent = event.nativeEvent as MouseEvent;const composedPath = nativeEvent.composedPath?.() ?? [];