Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:lipstick:

Vanessa16727cd8af9f
diff --git a/app/src/assets/scss/business/_av.scss b/app/src/assets/scss/business/_av.scss
index 2d5ac225f4..db2349ee15 100644
--- a/app/src/assets/scss/business/_av.scss
+++ b/app/src/assets/scss/business/_av.scss
@@ -113,8 +113,8 @@
}
&--select {
- .av__cell {
- background-color: var(--b3-av-hover);
+ &:not(.av__row--header) .av__cell {
+ background-color: var(--b3-av-background-hl);
}
.av__firstcol svg {
diff --git a/app/src/protyle/toolbar/Font.ts b/app/src/protyle/toolbar/Font.ts
index f1ad62cf3d..833b7868e4 100644
--- a/app/src/protyle/toolbar/Font.ts
+++ b/app/src/protyle/toolbar/Font.ts
@@ -217,7 +217,7 @@ export const fontEvent = (protyle: IProtyle, nodeElements: Element[], type?: str
e.style.backgroundColor = "";
e.style.fontSize = "";
if (e.classList.contains("av")) {
- e.querySelector(".av__container").setAttribute("style", "--av-background:--b3-theme-background");
+ e.querySelector(".av__container").setAttribute("style", "--av-background:var(--b3-theme-background)");
}
} else if (type === "style1") {
const colorList = color.split(Constants.ZWSP);