Merge pull request #7675 from continuedev/dallin/fix-diff-colors-width

fix: HOTFIX diff line color overflow
This commit is contained in:
Nate Sesti 2025-09-09 21:37:20 -07:00 • committed by GitHub
commit ff78eb10b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -241,7 +241,7 @@ export function FindAndReplaceDisplay({
className={`${config?.ui?.showChatScrollbar ? "thin-scrollbar" : "no-scrollbar"} max-h-72 overflow-auto`}
>
<pre
className={`bg-editor m-0 w-full text-xs leading-tight ${config?.ui?.codeWrap ? "whitespace-pre-wrap" : "whitespace-pre"}`}
className={`bg-editor m-0 w-fit min-w-full text-xs leading-tight ${config?.ui?.codeWrap ? "whitespace-pre-wrap" : "whitespace-pre"}`}
>
{diffResult.diff?.map((part, index) => {
if (part.removed) {