This commit is contained in:
parent
1c0732eae1
commit
6172a5f892
3 changed files with 21 additions and 0 deletions
|
@ -466,6 +466,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
&--animate {
|
||||
animation: scale 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
[data-type="backslash"] span {
|
||||
display: none;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue