diff options
| author | Adam <[email protected]> | 2025-10-29 07:31:57 -0500 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-10-29 07:32:01 -0500 |
| commit | 5b86fa91099d66cdc876cd4209a97ae2c903d510 (patch) | |
| tree | a00ea234769f9d68104791d69ec6bbf154c7cf2a /packages/ui/src | |
| parent | aa7e008fe1ea1c1ee0e28915b61633865c304152 (diff) | |
| download | opencode-5b86fa91099d66cdc876cd4209a97ae2c903d510.tar.gz opencode-5b86fa91099d66cdc876cd4209a97ae2c903d510.zip | |
wip: desktop work
Diffstat (limited to 'packages/ui/src')
| -rw-r--r-- | packages/ui/src/components/diff.css | 1 | ||||
| -rw-r--r-- | packages/ui/src/styles/utilities.css | 29 |
2 files changed, 1 insertions, 29 deletions
diff --git a/packages/ui/src/components/diff.css b/packages/ui/src/components/diff.css index c3484e201..c4e831879 100644 --- a/packages/ui/src/components/diff.css +++ b/packages/ui/src/components/diff.css @@ -18,6 +18,7 @@ [data-slot="diff-hunk-separator-content"] { position: sticky; background-color: var(--surface-diff-hidden-base); + color: var(--text-base); width: var(--pjs-column-content-width); left: var(--pjs-column-number-width); padding-left: 8px; diff --git a/packages/ui/src/styles/utilities.css b/packages/ui/src/styles/utilities.css index 85b901566..99b7760a0 100644 --- a/packages/ui/src/styles/utilities.css +++ b/packages/ui/src/styles/utilities.css @@ -48,35 +48,6 @@ border-width: 0; } -.scroller { - --fade-height: 1.5rem; - - --mask-top: linear-gradient(to bottom, transparent, black var(--fade-height)); - --mask-bottom: linear-gradient(to top, transparent, black var(--fade-height)); - - mask-image: var(--mask-top), var(--mask-bottom); - mask-repeat: no-repeat; - - mask-size: 100% var(--fade-height); - - animation: adjust-masks linear; - animation-timeline: scroll(self); -} - -@keyframes adjust-masks { - from { - mask-position: - 0 calc(0% - var(--fade-height)), - 0 100%; - } - - to { - mask-position: - 0 0, - 0 calc(100% + var(--fade-height)); - } -} - .truncate-start { text-overflow: ellipsis; overflow: hidden; |
