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.
This commit is contained in:
Björn Brändewall 2021-08-24 14:28:02 +02:00 committed by GitHub
parent cec2474295
commit 02d06c464c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@
z-index: 3;
}
&::after:empty {
&:empty::after {
display: none;
}
}