-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove spaces to Calc declarations #496
Comments
That's a bug indeed. Fix is coming! |
Thank you! |
jakubpawlowicz
added a commit
that referenced
this issue
Mar 16, 2015
Fixed in 3.1.7. |
Still experiencing this issue in 3.1.8, although looking at the source I can't see why: https:/jakubpawlowicz/clean-css/blob/master/lib/selectors/optimizers/simple.js#L181 The snippet in question: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm using gulp with the gulp-minify-css plugin (https://www.npmjs.com/package/gulp-minify-css, which uses clean-css).
The tool removes the space after the ")" parenthesis changing the meaning of the following css declarations:
width: calc((978px * 2/3) - 30px);
towidth: calc((978px * 2/3)- 30px);
and
width: calc((978px / 3) - 30px);
towidth: calc((978px / 3)- 30px);
The text was updated successfully, but these errors were encountered: