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
This commit is contained in:
Julius Marminge authored and Julius Marminge committed 2026-03-01 10:31:13 -08:00
1 parent 1af43dbf90
commit 3dd004c323
1 file changed
+8
+8
View File
@@ -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: