Merge pull request #7675 from continuedev/dallin/fix-diff-colors-width
fix: HOTFIX diff line color overflow
This commit is contained in:
commit
ff78eb10b9
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue