From 6f4ad581dc061ba9dda2a3703c4de0168a04c6e2 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 7 Jan 2023 17:27:09 +0900 Subject: [PATCH] :art: --- packages/frontend/src/components/MkModal.vue | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/frontend/src/components/MkModal.vue b/packages/frontend/src/components/MkModal.vue index 38b1ce7c1d..f323de605f 100644 --- a/packages/frontend/src/components/MkModal.vue +++ b/packages/frontend/src/components/MkModal.vue @@ -267,9 +267,8 @@ defineExpose({ } > .content { - transform-style: preserve-3d; - transform: perspective(50cm) translateZ(0px) translateY(0px) rotateX(0deg); - transition: opacity 0.4s cubic-bezier(.5,-0.5,.75,1), transform 0.4s cubic-bezier(.5,-0.5,.75,1) !important; + transform: translateY(0px); + transition: opacity 0.3s ease-in, transform 0.3s cubic-bezier(.5,-0.5,1,.5) !important; } } .send-enter-from, .send-leave-to { @@ -280,8 +279,7 @@ defineExpose({ > .content { pointer-events: none; opacity: 0; - transform-style: preserve-3d; - transform: perspective(50cm) translateZ(-300px) translateY(-200px) rotateX(40deg); + transform: translateY(-300px); } }