CSS Optimization Breaks CSS calc #86

Volnus opened this Issue Feb 26, 2017 · 2 comments


None yet
2 participants

Volnus commented Feb 26, 2017

If you are using "calc" autoptimize will make code that looks like this
calc(-50vw + 50%)
into this

The problem being spacing in calc matters as the first rule is valid but the second one isn't. (I just noticed this on a client site I was working on).


futtta commented Feb 26, 2017

cfr. 685d76b this should be OK on the GitHub version (which one day will be AO 2.2 or 2.1.1), can you try that @Volnus ?

Volnus commented Feb 26, 2017

Works closing the issue ^^

Volnus closed this Feb 26, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment