Skip to content

Commit

Permalink
perf: update transitionAndTransitionGroup.scss for better performance
Browse files Browse the repository at this point in the history
  • Loading branch information
hakadao committed May 4, 2024
1 parent 7eb86ed commit c86af1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/styles/transitionAndTransitionGroup.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.page-fade-enter-active,
.page-fade-leave-active {
--at-apply: transition-opacity duration-500;
--at-apply: transition-opacity duration-500 transform-gpu;
}
.page-fade-enter-from,
.page-fade-leave-to {
Expand All @@ -12,7 +12,7 @@

.fade-enter-active,
.fade-leave-active {
--at-apply: transition-opacity duration-500 transform-gpu;
--at-apply: transition-opacity duration-500;
}
.fade-enter-from,
.fade-leave-to {
Expand Down

0 comments on commit c86af1e

Please sign in to comment.