mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Don't return when updating declaration important
This commit is contained in:
parent
5974f24eda
commit
44dbde8ea6
@ -250,7 +250,9 @@ function processApplyAtRules(css, lookupTree, config) {
|
||||
]
|
||||
|
||||
const { nodes } = _.tap(postcss.root({ nodes: rulesToInsert }), root =>
|
||||
root.walkDecls(d => (d.important = important))
|
||||
root.walkDecls(d => {
|
||||
d.important = important
|
||||
})
|
||||
)
|
||||
|
||||
const mergedRules = mergeAdjacentRules(rule, nodes)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user