webui: speed up animation.

This commit is contained in:
EstrellaXD
2023-09-23 19:36:20 +08:00
parent 57009b537e
commit 313b3e90d8
4 changed files with 2 additions and 12 deletions

View File

@@ -25,3 +25,4 @@ bcrypt==4.0.1
python-multipart==0.0.6
sqlmodel==0.0.8
sse-starlette==1.6.5
semver==3.0.1

View File

@@ -131,14 +131,4 @@ defineEmits(['click']);
transform: translateY(-25%);
}
.bangumi-enter-active,
.bangumi-leave-active {
transition: all 0.3s ease;
}
.bangumi-enter-from,
.bangumi-leave-to {
opacity: 0;
transform: translateY(20px);
}
</style>

View File

@@ -90,7 +90,7 @@ function throwID(bangumi: BangumiRule) {
<style lang="scss" scoped>
.list-enter-active,
.list-leave-active {
transition: all 0.5s ease;
transition: all 0.3s ease;
}
.list-enter-from,

View File

@@ -18,7 +18,6 @@ definePage({
<transition-group
name="bangumi" tag="div"
flex="~ wrap" gap-y-12px gap-x-32px>
<!-- TODO: Transition Effect to fix. -->
<ab-bangumi-card
v-for="i in bangumi"
:key="i.id"