Skip to content

Commit

Permalink
Fix postcss#1333 - /* autoprefixer grid: off */ will not output grid …
Browse files Browse the repository at this point in the history
…warnings
  • Loading branch information
Daniel Tonon committed Jul 11, 2020
1 parent 58a210c commit 7986932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/processor.js
Expand Up @@ -146,7 +146,7 @@ class Processor {
{ node: decl }
)
} else {
if (gridPrefixes) {
if (gridPrefixes && this.gridStatus(decl, result)) {
if (/^(align|justify|place)-items$/.test(prop) && insideGrid(decl)) {
let fixed = prop.replace('-items', '-self')
result.warn(
Expand Down

0 comments on commit 7986932

Please sign in to comment.