Skip to content

Commit

Permalink
Fix prefers reduced motion is ignored when inside FluentProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
OEvgeny committed Apr 23, 2024
1 parent 287290a commit abdeb1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/fluent-theme/src/components/Theme.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@

@media (prefers-reduced-motion) {
:global(.webchat-fluent).theme {
--webchat-durationUltraFast: var(--durationUltraFast, 0);
--webchat-durationNormal: var(--durationNormal, 0);
--webchat-durationUltraFast: 0.01ms;
--webchat-durationNormal: 0.01ms;
}
}

0 comments on commit abdeb1e

Please sign in to comment.