The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 25, 16:00 UTC
Keep diff panel header sticky while scrolling
- Make the diffs header stick to the top of the panel - Add header background and bottom border for readability
Julius Marminge committed
Feb 28, 2026 at 23:28 UTC
3dd004c3230d62028e0d1c747cf641cf8d33ad3e
1 file changed
+8
apps/web/src/components/DiffPanel.tsx
+8
@@ -61,6 +61,14 @@ const DIFF_PANEL_UNSAFE_CSS = `
61
color: var(--foreground) !important;
62
}
63
64
+[data-diffs-header] {
65
+ position: sticky !important;
66
+ top: 0;
67
+ z-index: 4;
68
+ background-color: color-mix(in srgb, var(--card) 94%, var(--foreground)) !important;
69
+ border-bottom: 1px solid var(--border) !important;
70
+}
71
+
72
[data-title] {
73
cursor: pointer;
74
transition: