Skip to content

Commit

Permalink
💄
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Nov 17, 2023
1 parent 05539a5 commit 16727cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/src/assets/scss/business/_av.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion app/src/protyle/toolbar/Font.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 16727cd

Please sign in to comment.