Skip to content

Commit

Permalink
fix absolute position css for transition
Browse files Browse the repository at this point in the history
  • Loading branch information
leiyre committed Nov 28, 2024
1 parent f7faaee commit 9f03df1
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,14 @@ export default {
color: var(--fg-tertiary);
}
}
.list-move,
.list-enter-active,
.list-leave-active {
transition: transform 0.2s ease-in, opacity 0.1s ease;
transition: all 0.2s ease;
}
.list-enter-from,
.list-enter,
.list-leave-to {
opacity: 0;
transform: translateX(10px);
}
.list-leave-active {
position: absolute;
transform: scale(0.8);
}
</style>

0 comments on commit 9f03df1

Please sign in to comment.