From 5c490c51edd5a8e3953fcc439d46c0e138294073 Mon Sep 17 00:00:00 2001 From: Amadeus Demarzi Date: Wed, 17 Dec 2025 05:33:46 -0800 Subject: Diffs Performance Improvements (#5653) Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com> --- packages/ui/src/components/diff.css | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packages/ui/src/components/diff.css') 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; -- cgit v1.2.3