From cf1151aa2839d373555696af113b219e019f917e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=82=E3=82=8F=E3=82=8F=E3=82=8F=E3=81=A8=E3=83=BC?= =?UTF-8?q?=E3=81=AB=E3=82=85?= <17376330+u1-liquid@users.noreply.github.com> Date: Mon, 31 Mar 2025 12:38:51 +0900 Subject: [PATCH] fix(MisskeyIO#956): MSKY-77 (MisskeyIO#957) --- .../frontend/src/components/MkDateSeparatedList.vue | 13 +------------ packages/frontend/src/style.scss | 11 +++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/frontend/src/components/MkDateSeparatedList.vue b/packages/frontend/src/components/MkDateSeparatedList.vue index 454272279..16c2a136f 100644 --- a/packages/frontend/src/components/MkDateSeparatedList.vue +++ b/packages/frontend/src/components/MkDateSeparatedList.vue @@ -212,21 +212,10 @@ export default defineComponent({ } } -@keyframes spin-shrink { - 0% { - transform: rotate(0deg) scale(1); - opacity: 1; - } - 100% { - transform: rotate(2160deg) scale(0); - opacity: 0; - } -} - .april-fool { &:global > .list-enter-from, &:global > .list-leave-to { - animation: components-MkDateSeparatedList-spin-shrink 3s ease-in forwards; + animation: global-spin-shrink 3s ease-in forwards; } } diff --git a/packages/frontend/src/style.scss b/packages/frontend/src/style.scss index 438b21a49..276d41ae0 100644 --- a/packages/frontend/src/style.scss +++ b/packages/frontend/src/style.scss @@ -510,6 +510,17 @@ html[data-color-mode=dark] ._woodenFrame { } } +@keyframes global-spin-shrink { + 0% { + transform: rotate(0deg) scale(1); + opacity: 1; + } + 100% { + transform: rotate(2160deg) scale(0); + opacity: 0; + } +} + ._anime_bounce { will-change: transform; animation: global-bounce ease 0.7s;