fix(session-ui): hide diff behind sticky file header corners (#58240)

This commit is contained in:
Luke Parker
2026-10-23 08:04:14 +10:00
committed by GitHub
Unverified
parent 80e5e9687c
commit d589a924ee
@@ -1461,20 +1461,11 @@
}
[data-component="accordion"][data-scope="apply-patch"] {
/* Keep the sticky header square so its page-colored corners hide the diff scrolling under the rounded trigger. */
[data-slot="accordion-header"] {
background-color: var(--v2-background-bg-base);
}
[data-slot="accordion-item"]:first-child > [data-slot="accordion-header"] {
border-top-left-radius: var(--radius-lg);
border-top-right-radius: var(--radius-lg);
}
[data-slot="accordion-item"]:last-child:not([data-expanded]) > [data-slot="accordion-header"] {
border-bottom-left-radius: var(--radius-lg);
border-bottom-right-radius: var(--radius-lg);
}
[data-slot="apply-patch-trigger-content"] {
display: flex;
align-items: center;