Open gavinmcfarland opened 4 years ago
Hi, I noticed this by accident, but postcss-short I believe is not accounting for the CSS !important flag.
!important
I noticed this with font-size.
font-size
For example:
p { font-size: inherit !important; }
Results in:
p { font-size: inherit;
I'm not sure if other properties have the same issue, I can check when I get a chance.
@limitlessloop https://github.com/csstools/postcss-short-font-size/blob/master/test/basic.css#L6 and https://github.com/csstools/postcss-short-font-size/blob/master/test/basic.expect.css#L6 explain everything
Hi, I noticed this by accident, but postcss-short I believe is not accounting for the CSS
!important
flag.I noticed this with
font-size
.For example:
Results in:
I'm not sure if other properties have the same issue, I can check when I get a chance.