We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19c8fe3 commit 99c4afdCopy full SHA for 99c4afd
packages/tailwindcss/src/css-parser.ts
@@ -305,8 +305,12 @@ export function parse(input: string) {
305
parent.nodes.push(node)
306
}
307
308
- // Push the current node to the stack and make it the new parent.
+ // Push the parent node to the stack, so that we can go back once the
309
+ // nested nodes are done.
310
stack.push(parent)
311
+
312
+ // Make the current node the new parent, so that nested nodes can be
313
+ // attached to it.
314
parent = node
315
316
// Reset the state for the next node.
0 commit comments