fix: widen split review diffs (#1647)

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
This commit is contained in:
Ankush Gola 2026-06-30 10:11:08 -07:00 • committed by GitHub
parent 89f886e2fe
commit 4f9131987a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1116,7 +1116,10 @@ function ReviewBodyInner({
>
<Virtualizer
className="relative min-h-0 flex-1 overflow-y-auto"
contentClassName="mx-auto w-full max-w-6xl px-6 py-6"
contentClassName={cn(
"mx-auto w-full px-6 py-6",
diffStyle === "split" ? "max-w-none" : "max-w-6xl"
)}
config={DIFF_VIRTUALIZER_CONFIG}
>
<div ref={scrollerProbe} aria-hidden className="hidden" />