From 2e686fc96601ebe38871b7d744c57a25bc968bca Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Thu, 18 Aug 2022 17:05:30 -0700 Subject: [PATCH] fix: :bug: only show on mobile, fix animation --- packages/client/src/ui/universal.vue | 34 +++++++++++----------------- 1 file changed, 13 insertions(+), 21 deletions(-) diff --git a/packages/client/src/ui/universal.vue b/packages/client/src/ui/universal.vue index c65875266..e187f3fdb 100644 --- a/packages/client/src/ui/universal.vue +++ b/packages/client/src/ui/universal.vue @@ -25,7 +25,7 @@ - +
{ if (timer !== -1) { if (postButton != null) { - postButton.style.animation = 'shrink 0.5s linear 1'; + postButton.style.transform = 'scale(0)'; } clearTimeout(timer); } timer = setTimeout(() => { if (postButton != null) { - postButton.style.animation = 'grow 0.5s linear 1'; + postButton.style.transform = 'scale(1)'; } }, 150); }, false); @@ -192,24 +192,6 @@ const wallpaper = localStorage.getItem('wallpaper') != null;