aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-02-01 22:20:15 +0100
committerArmand Philippot <git@armandphilippot.com>2022-02-01 22:51:43 +0100
commit8952a0ce097405d3c66eff2b6c70a5bd139435e5 (patch)
tree5cdd97eb76b983839d3aeee62ff96a0f24272123 /src/styles
parentf8c7ec2c0e6cea04ebf2bd69313de82403620960 (diff)
fix: disable animations and transitions on pseudo elements
Diffstat (limited to 'src/styles')
-rw-r--r--src/styles/base/_helpers.scss8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/styles/base/_helpers.scss b/src/styles/base/_helpers.scss
index 65f06d8..d28811c 100644
--- a/src/styles/base/_helpers.scss
+++ b/src/styles/base/_helpers.scss
@@ -43,14 +43,18 @@
}
@include mix.motion("reduce") {
- * {
+ *,
+ *::after,
+ *::before {
animation: none !important;
transition: none !important;
}
}
[data-reduced-motion="true"] {
- * {
+ *,
+ *::after,
+ *::before {
animation: none !important;
transition: none !important;
}