This commit is contained in:
Vanessa 2023-08-20 17:41:52 +08:00
parent 1c0732eae1
commit 6172a5f892
3 changed files with 21 additions and 0 deletions

View file

@ -466,6 +466,10 @@
}
}
&--animate {
animation: scale 0.3s ease-in-out;
}
[data-type="backslash"] span {
display: none;
}

View file

@ -40,6 +40,18 @@
}
}
@keyframes scale {
0% {
transform: scaleY(1.3);
transform-origin: 0 0;
opacity: 0;
}
100% {
transform: scaleY(1);
}
}
@keyframes stripMove {
0% {
background-position: 0 0;

View file

@ -626,6 +626,11 @@ export const zoomOut = (options: {
});
return;
}
} else {
options.protyle.wysiwyg.element.classList.add("protyle-wysiwyg--animate");
setTimeout(() => {
options.protyle.wysiwyg.element.classList.remove("protyle-wysiwyg--animate");
}, 365);
}
/// #if !MOBILE
if (options.protyle.model) {