From 6945fb69dce2be10886a5679eaeb23f3494731c2 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Tue, 27 Sep 2022 21:58:33 +0800 Subject: [PATCH] perf: disable transition of dashboard widgets Signed-off-by: Ryan Wang --- src/modules/dashboard/Dashboard.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/modules/dashboard/Dashboard.vue b/src/modules/dashboard/Dashboard.vue index b0bdb8d7..af5bf932 100644 --- a/src/modules/dashboard/Dashboard.vue +++ b/src/modules/dashboard/Dashboard.vue @@ -200,4 +200,12 @@ function handleRemove(item: any) { .vue-grid-layout { @apply -m-[10px]; } +.vue-grid-item { + transition: none !important; +} + +.vue-grid-item.vue-grid-placeholder { + @apply bg-gray-200 !important; + @apply opacity-100 !important; +}