Skip to content

Commit

Permalink
Fix for #1335 - align/justify-self not grid prefixing if display: flex
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Tonon committed Jul 11, 2020
1 parent 58a210c commit d1a9711
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/processor.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,6 @@ class Processor {
}
}
if (
display !== 'flex' &&
this.gridStatus(decl, result) !== false
) {
prefixer = this.prefixes.add['grid-row-align']
Expand All @@ -342,9 +341,7 @@ class Processor {
}
} else if (decl.prop === 'justify-self') {
// justify-self flexbox or grid
let display = this.displayType(decl)
if (
display !== 'flex' &&
this.gridStatus(decl, result) !== false
) {
prefixer = this.prefixes.add['grid-column-align']
Expand Down

0 comments on commit d1a9711

Please sign in to comment.