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
I am using Hugo 0.117.0, one dependency of which is v2.12.7 of minify. While locally testing the relatively new CSS nesting standard (now supported by the current versions of Chrome, Firefox, and Safari), I have observed that the inclusion of a nested @media query causes minify to eliminate the required whitespace surrounding the + and - operators within a clamp() statement if the statement follows the media query within the same class or element. (I couldn't reproduce the same problem with calc().)
I am using Hugo 0.117.0, one dependency of which is v2.12.7 of minify. While locally testing the relatively new CSS nesting standard (now supported by the current versions of Chrome, Firefox, and Safari), I have observed that the inclusion of a nested
@media
query causes minify to eliminate the required whitespace surrounding the+
and-
operators within aclamp()
statement if the statement follows the media query within the same class or element. (I couldn't reproduce the same problem withcalc()
.)Examples
This CSS doesn't have the problem:
As of now, minify turns the first CSS into:
But this CSS does have the problem:
As of now, minify turns the second CSS into:
cc: @bep @jmooring
The text was updated successfully, but these errors were encountered: