From 8952a0ce097405d3c66eff2b6c70a5bd139435e5 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Tue, 1 Feb 2022 22:20:15 +0100 Subject: fix: disable animations and transitions on pseudo elements --- src/styles/base/_helpers.scss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3