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:
1 parent
1af43dbf90
commit
3dd004c323
1 file changed
+8
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user