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 316ee49 commit 4238415Copy full SHA for 4238415
index.js
@@ -339,16 +339,15 @@ module.exports = function(css, options){
339
if (!m) return;
340
341
var sel = selector() || [];
342
- var decls = [];
343
344
if (!open()) return error("@page missing '{'");
345
- comments();
+ var decls = comments();
346
347
// declarations
348
var decl;
349
while (decl = declaration()) {
350
decls.push(decl);
351
+ decls = decls.concat(comments());
352
}
353
354
if (!close()) return error("@page missing '}'");
0 commit comments