diff options
| author | Amadeus Demarzi <[email protected]> | 2025-12-17 05:33:46 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-17 07:33:46 -0600 |
| commit | 5c490c51edd5a8e3953fcc439d46c0e138294073 (patch) | |
| tree | 29f538fa1ad1666507960e30830b0f07db9de44a /packages/ui/src/components/diff.css | |
| parent | 5da1c0087b7a0216bf633d12ff038422727ff235 (diff) | |
| download | opencode-5c490c51edd5a8e3953fcc439d46c0e138294073.tar.gz opencode-5c490c51edd5a8e3953fcc439d46c0e138294073.zip | |
Diffs Performance Improvements (#5653)
Co-authored-by: Adam <[email protected]>
Diffstat (limited to 'packages/ui/src/components/diff.css')
| -rw-r--r-- | packages/ui/src/components/diff.css | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/ui/src/components/diff.css b/packages/ui/src/components/diff.css index 345271a12..3251eb4c6 100644 --- a/packages/ui/src/components/diff.css +++ b/packages/ui/src/components/diff.css @@ -1,4 +1,6 @@ [data-component="diff"] { + contain: content; + [data-slot="diff-hunk-separator-line-number"] { position: sticky; left: 0; |
