mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-17 04:38:00 +00:00
Fixed the dark theme for the text diff viewer (#152)
This commit is contained in:
1 parent
e6be9a593e
commit
92f5b49543
3 files changed
+6
-1
No files matched your search
@@ -2,7 +2,7 @@ window.generateDiff = function (text1, text2, divDiff, divLegend) {
|
||||
let wikEdDiff = new WikEdDiff();
|
||||
let targetDiv = document.getElementById(divDiff)
|
||||
targetDiv.innerHTML = wikEdDiff.diff(text1, text2);
|
||||
targetDiv.classList.add('mud-typography-body1');
|
||||
targetDiv.classList.add('mud-typography-body1', 'improvedDiff');
|
||||
|
||||
let legend = document.getElementById(divLegend);
|
||||
legend.innerHTML = `
|
||||
|
||||
Reference in new issue
Block a user