Skip to content

Commit

Permalink
Hotfix: Use universal selector again (#5060)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwathan committed Jul 23, 2021
1 parent 90da0b3 commit cbf3da0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/jit/lib/resolveDefaultsAtRules.js
Expand Up @@ -89,7 +89,11 @@ export default function resolveDefaultsAtRules() {
}

let universalRule = postcss.rule()
universalRule.selectors = [...selectors]

// TODO: Fix this, this is a hotfix
// universalRule.selectors = [...selectors]
universalRule.selectors = ['*', '::before', '::after']

universalRule.append(universal.nodes)
universal.before(universalRule)
universal.remove()
Expand Down

0 comments on commit cbf3da0

Please sign in to comment.