This commit is contained in:
Vanessa 2022-12-29 15:57:48 +08:00
parent 2ac1347797
commit 9d429a2e7c
2 changed files with 10 additions and 4 deletions

View File

@ -134,9 +134,15 @@
box-shadow: none; box-shadow: none;
} }
&--hide span[data-type~=mark] { &--hide {
transition: var(--b3-transition); .sb > div:nth-of-type(n+2):not(.protyle-attr) {
color: var(--b3-protyle-inline-mark-background) !important; display: none;
}
span[data-type~=mark] {
transition: var(--b3-transition);
color: var(--b3-protyle-inline-mark-background) !important;
}
} }
} }
} }

View File

@ -164,7 +164,7 @@ export const openCard = () => {
rating: parseInt(type) rating: parseInt(type)
}, () => { }, () => {
index++; index++;
editor.protyle.element.classList.remove("b3-dialog__cardblock--hide"); editor.protyle.element.classList.add("b3-dialog__cardblock--hide");
if (index > blocks.length - 1) { if (index > blocks.length - 1) {
countElement.classList.add("fn__none"); countElement.classList.add("fn__none");
editor.protyle.element.classList.add("fn__none"); editor.protyle.element.classList.add("fn__none");