diff options
| author | Adam <[email protected]> | 2025-10-28 12:15:46 -0500 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-10-28 15:29:16 -0500 |
| commit | 77ae0b527e4b1a8277b0391d0acbc7d82b08e4ea (patch) | |
| tree | e3365685a4ca201b4e0d16e59648dcba2a5773ad /packages/ui/src/components/diff.css | |
| parent | c1278109c9600ded4ab937686d4c7288fda2524d (diff) | |
| download | opencode-77ae0b527e4b1a8277b0391d0acbc7d82b08e4ea.tar.gz opencode-77ae0b527e4b1a8277b0391d0acbc7d82b08e4ea.zip | |
wip: desktop work
Diffstat (limited to 'packages/ui/src/components/diff.css')
| -rw-r--r-- | packages/ui/src/components/diff.css | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/ui/src/components/diff.css b/packages/ui/src/components/diff.css new file mode 100644 index 000000000..6f9a0d73d --- /dev/null +++ b/packages/ui/src/components/diff.css @@ -0,0 +1,24 @@ +[data-component="diff"] { + [data-slot="diff-hunk-separator-line-number"] { + position: sticky; + left: 0; + background-color: hsla(209, 96%, 90%, 1); + z-index: 2; + display: flex; + align-items: center; + justify-content: center; + + [data-slot="diff-hunk-separator-line-number-icon"] { + aspect-ratio: 1; + width: 24px; + height: 24px; + } + } + [data-slot="diff-hunk-separator-content"] { + position: sticky; + background-color: hsla(210, 100%, 96%, 1); + width: var(--pjs-column-content-width); + left: var(--pjs-column-number-width); + padding-left: 8px; + } +} |
