CSS Optimization incorrectly concatenating certain properties
-
Hello,
I’m experiencing a CSS issue since updating Autoptimize to 2.0.0 on my local site and our staging site. I have not updated on our live site and this issue isn’t present on 1.9.4.
I have a CSS rule that reads “flex: 0 1 calc(50% – 86px);” in my original CSS file.
When I use Autoptimize to optimize the CSS, it concatenates this property to “flex:0 1calc(100% – 86px);”, removing the space between 1 and the calc and breaking the flex property’s value.
I have noticed that in the case of, say, “flex: 0 1 112px;”, it concatenates to “flex:0 1 112px;”, so there seems to be confusion with calc used as the flex-basis in shorthand flex.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘CSS Optimization incorrectly concatenating certain properties’ is closed to new replies.