perf: disable transition of dashboard widgets

Signed-off-by: Ryan Wang <i@ryanc.cc>
pull/625/head
Ryan Wang 2022-09-27 21:58:33 +08:00
parent 2b9ddcfa56
commit 6945fb69dc
1 changed files with 8 additions and 0 deletions

View File

@ -200,4 +200,12 @@ function handleRemove(item: any) {
.vue-grid-layout { .vue-grid-layout {
@apply -m-[10px]; @apply -m-[10px];
} }
.vue-grid-item {
transition: none !important;
}
.vue-grid-item.vue-grid-placeholder {
@apply bg-gray-200 !important;
@apply opacity-100 !important;
}
</style> </style>