mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-02-05 14:29:07 +00:00
Fixed the dark theme for the text diff viewer (#152)
This commit is contained in:
parent
e6be9a593e
commit
92f5b49543
@ -54,4 +54,8 @@
|
||||
|
||||
.custom-icon-color > a > svg {
|
||||
color: var(--custom-icon-color) !important;
|
||||
}
|
||||
|
||||
.improvedDiff .wikEdDiffFragment {
|
||||
background-color: initial !important;
|
||||
}
|
@ -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 = `
|
||||
|
@ -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.
|
Loading…
Reference in New Issue
Block a user