Skip to content
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

CSS minification breaking calc() #482

Open
AaronValor opened this issue Feb 5, 2020 · 1 comment
Open

CSS minification breaking calc() #482

AaronValor opened this issue Feb 5, 2020 · 1 comment

Comments

@AaronValor
Copy link

Example:
width: calc(100% - 100)

minifies to
width: calc(100%- 100)

Version: 2.0.0.17974

@AaronValor
Copy link
Author

I was able to work around the minification bug by adding parentheses around the 100%.
Example:
width: calc((100%) - 100)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant