From 16727cd8af9f40eb739f6b89c35583da41d4aae3 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 17 Nov 2023 08:50:49 +0800 Subject: [PATCH] :lipstick: --- app/src/assets/scss/business/_av.scss | 4 ++-- app/src/protyle/toolbar/Font.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/assets/scss/business/_av.scss b/app/src/assets/scss/business/_av.scss index 2d5ac225f..db2349ee1 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 f1ad62cf3..833b7868e 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);