Vanessa 2025-03-22 11:55:45 +08:00
parent 95dc762faf
commit c67abdad55
3 changed files with 5 additions and 5 deletions

View File

@ -553,7 +553,7 @@
}
&--animate {
animation: scale .3s ease-in-out;
animation: bottom2Top .3s ease-in-out;
}
div[data-type="NodeMathBlock"] {

View File

@ -50,15 +50,15 @@
}
}
@keyframes scale {
@keyframes bottom2Top {
0% {
transform: scaleY(1.3);
transform: translateY(60px);
transform-origin: 0 0;
opacity: 0;
}
100% {
transform: scaleY(1);
transform: translateY(0);
}
}

View File

@ -172,7 +172,7 @@ export const initUI = (protyle: IProtyle) => {
focusByRange(range);
}
}
})
});
});
let overAttr = false;
protyle.element.addEventListener("mouseover", (event: KeyboardEvent & { target: HTMLElement }) => {