mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-13 11:39:41 +03:00
fix(session-ui): hide diff behind sticky file header corners (#58240)
This commit is contained in:
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;
|
||||
|
||||
Reference in New Issue
Block a user