Fixed the dark theme for the text diff viewer (#152)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2024-09-15 22:21:33 +02:00
1 parent e6be9a593e
commit 92f5b49543
3 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -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 = `