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

This commit is contained in:
Thorsten Sommer 2024-09-15 22:21:33 +02:00 committed by GitHub
parent e6be9a593e
commit 92f5b49543
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 1 deletions

View File

@ -55,3 +55,7 @@
.custom-icon-color > a > svg {
color: var(--custom-icon-color) !important;
}
.improvedDiff .wikEdDiffFragment {
background-color: initial !important;
}

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 = `

View File

@ -1,5 +1,6 @@
# v0.9.12, build 187 (2024-09-xx xx:xx UTC)
- Added a job posting assistant to the business category.
- Fixed the dark theme for the text diff viewer, e.g., in the grammar check assistant.
- Fixed margin-related issue in the `ConfigurationText` component.
- Fixed chat conversion of job posting, legal check, and my task assistants.
- Refactored the `ConfigurationText` component to debounce the input field to prevent unnecessary configuration updates. The component now also supports multiline text.