You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the example, which contains the Adjacent sibling combinator ".item + .item", the spaces around the + inside the calc (max) are removed. This makes the CSS invalid and it does not work.
The text was updated successfully, but these errors were encountered:
thanks for reporting @m-O-rpheus ! i'm afraid I don't have an easy fix; AO uses https://github.com/tubalmartin/YUI-CSS-compressor-PHP-port to do minification which seems pretty abandoned at the moment and I have no been able to find the changes that would be needed to avoid spaces being removed in this use case.
As a temporary workaround you can exclude said file from being minfied OR you can minify it on your end and make sure the filename reflects the fact it has been minified already by ensuring it has min in it e.g. myfile.min.css or myfile-min.css.
on my end I might end up switching to a different minifier (e.g. https://github.com/matthiasmullie/minify/) but all come with their own set of sometimes obscure bugs .. :-/
Unfortunately, with the current version 3.1.12, the CSS becomes invalid due to Autoptimize, especially when combined with CSS nesting.
In the example, which contains the Adjacent sibling combinator ".item + .item", the spaces around the + inside the calc (max) are removed. This makes the CSS invalid and it does not work.
The text was updated successfully, but these errors were encountered: