Skip to content

Commit

Permalink
Animate: Fix stuck animation for slide-in animation
Browse files Browse the repository at this point in the history
  • Loading branch information
SainathPoojary committed Jan 3, 2025
1 parent fb9f4ee commit 3ab4762
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/components/src/animate/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@
@media not (prefers-reduced-motion) {
animation: components-animate__slide-in-animation 0.1s cubic-bezier(0, 0, 0.2, 1);
animation-fill-mode: forwards;
}

&.is-from-left {
transform: translateX(+100%);
}
&.is-from-left {
transform: translateX(+100%);
}

&.is-from-right {
transform: translateX(-100%);
&.is-from-right {
transform: translateX(-100%);
}
}
}

Expand Down

0 comments on commit 3ab4762

Please sign in to comment.