Skip to content

Commit

Permalink
Bubble @screen at-rules when adding styles through plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
benface committed May 27, 2019
1 parent 973e41c commit 6ce2cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/parseObjectStyles.js
Expand Up @@ -10,6 +10,6 @@ export default function parseObjectStyles(styles) {

return _.flatMap(
styles,
style => postcss([postcssNested]).process(style, { parser: postcssJs }).root.nodes
style => postcss([postcssNested({ bubble: ['screen'] })]).process(style, { parser: postcssJs }).root.nodes
)
}

0 comments on commit 6ce2cfe

Please sign in to comment.