fix(dx): word wrap in script diffview
Helpful for devs who write >120 character long code. 💩
[skip ci]
This commit is contained in:
parent
a98e47150f
commit
59fff76cb3
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ frappe.ui.DiffView = class DiffView {
|
|||
} else if (line.startsWith("-")) {
|
||||
line_class = "delete";
|
||||
}
|
||||
html += `<div class=${line_class}>${line}</div>`;
|
||||
html += `<div class="${line_class} text-wrap">${line}</div>`;
|
||||
});
|
||||
return `<div class='diffview'>${html}</div>`;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue