fix: emojigen

This commit is contained in:
2022-09-04 03:47:00 +09:00
parent a151a14632
commit 2ea8e811d5
7 changed files with 156 additions and 277 deletions

View File

@ -490,9 +490,9 @@ function onDragover(ev) {
switch (ev.dataTransfer.effectAllowed) {
case 'all':
case 'uninitialized':
case 'copy':
case 'copyLink':
case 'copyMove':
case 'copy':
case 'copyLink':
case 'copyMove':
ev.dataTransfer.dropEffect = 'copy';
break;
case 'linkMove':
@ -769,7 +769,7 @@ onMounted(() => {
margin-left: 0 !important;
}
}
> .local-only {
margin: 0 0 0 12px;
opacity: 0.7;
@ -910,6 +910,7 @@ onMounted(() => {
max-width: 100%;
min-width: 100%;
min-height: 90px;
height: 250px;
&.withCw {
padding-top: 8px;

View File

@ -76,12 +76,13 @@ function onMousedown(evt: Event) {
}
.fade-enter-active, .fade-leave-active {
transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), height 0.2s ease-out, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
transform-origin: left top;
}
.fade-enter-from, .fade-leave-to {
opacity: 0;
transform: scale(0.9);
height: 1px;
}
</style>

View File

@ -101,11 +101,12 @@ export default defineComponent({
<style lang="scss" scoped>
.popup-enter-active, .popup-leave-active {
transition: opacity 0.3s, transform 0.3s !important;
transition: opacity 0.3s, height 0.2s, transform 0.3s !important;
}
.popup-enter-from, .popup-leave-to {
opacity: 0;
transform: scale(0.9);
height: 0;
}
.fxxzrfni {