From 02d06c464c3cb8dc978253667ec57b3437fe02de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Br=C3=A4ndewall?= Date: Tue, 24 Aug 2021 14:28:02 +0200 Subject: [PATCH] Fix invalid CSS selector syntax (#2303) https://jigsaw.w3.org/css-validator/ complains that "The selector :empty can't appear after the pseudo-element selector ::after". Switching their places, however, will validate. --- src/sass/plugins/ads.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sass/plugins/ads.scss b/src/sass/plugins/ads.scss index 16fb43e4..a1fe308b 100644 --- a/src/sass/plugins/ads.scss +++ b/src/sass/plugins/ads.scss @@ -36,7 +36,7 @@ z-index: 3; } - &::after:empty { + &:empty::after { display: none; } }