This commit is contained in:
parent
2ac1347797
commit
9d429a2e7c
2 changed files with 10 additions and 4 deletions
|
@ -134,9 +134,15 @@
|
|||
box-shadow: none;
|
||||
}
|
||||
|
||||
&--hide span[data-type~=mark] {
|
||||
transition: var(--b3-transition);
|
||||
color: var(--b3-protyle-inline-mark-background) !important;
|
||||
&--hide {
|
||||
.sb > div:nth-of-type(n+2):not(.protyle-attr) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
span[data-type~=mark] {
|
||||
transition: var(--b3-transition);
|
||||
color: var(--b3-protyle-inline-mark-background) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -164,7 +164,7 @@ export const openCard = () => {
|
|||
rating: parseInt(type)
|
||||
}, () => {
|
||||
index++;
|
||||
editor.protyle.element.classList.remove("b3-dialog__cardblock--hide");
|
||||
editor.protyle.element.classList.add("b3-dialog__cardblock--hide");
|
||||
if (index > blocks.length - 1) {
|
||||
countElement.classList.add("fn__none");
|
||||
editor.protyle.element.classList.add("fn__none");
|
||||
|
|
Loading…
Add table
Reference in a new issue