postcss-short
postcss-short copied to clipboard
Removes !important flag
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:
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