mirror of https://gitee.com/answerdev/answer.git
fix: when the comparison content is increased, it should not wrap
This commit is contained in:
parent
62efb68794
commit
f15c04a614
|
@ -187,7 +187,7 @@ function diffText(newText: string, oldText: string): string {
|
|||
'↵\n',
|
||||
)}</span>`;
|
||||
}
|
||||
return `<span class="review-text-add d-block">${part.value}</span>`;
|
||||
return `<span class="review-text-add">${part.value}</span>`;
|
||||
}
|
||||
if (part.removed) {
|
||||
if (part.value.replace(/\n/g, '').length <= 0) {
|
||||
|
|
Loading…
Reference in New Issue