Skip to content

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.

Keep diff panel header sticky while scrolling

Julius Marminge3dd004c3230d
diff --git a/apps/web/src/components/DiffPanel.tsx b/apps/web/src/components/DiffPanel.tsx
index 3b77edda2..39abdec36 100644
--- a/apps/web/src/components/DiffPanel.tsx
+++ b/apps/web/src/components/DiffPanel.tsx
@@ -61,6 +61,14 @@ const DIFF_PANEL_UNSAFE_CSS = `
color: var(--foreground) !important;
}
+[data-diffs-header] {
+ position: sticky !important;
+ top: 0;
+ z-index: 4;
+ background-color: color-mix(in srgb, var(--card) 94%, var(--foreground)) !important;
+ border-bottom: 1px solid var(--border) !important;
+}
+
[data-title] {
cursor: pointer;
transition: