fix style css in ts

This commit is contained in:
duanfuxiang
2025-01-07 14:18:18 +08:00
parent 8d253faddc
commit 0f42ce3b80
12 changed files with 1729 additions and 39 deletions

View File

@@ -86,7 +86,7 @@ class InlineSuggestionWidget extends WidgetType {
toDOM() {
const span = document.createElement("span");
span.textContent = this.display_suggestion;
span.style.opacity = "0.4"; // TODO replace with css
span.classList.add("infio-utils-display-suggestion-opacity");
span.onclick = () => {
cancelSuggestion(this.view);
}