-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
cssnano calc
will break the Radio style
#961
Comments
We've had some issues with cssnano in the past, you might try a different version as well. Or the upstream postcss-calc. |
underlying |
Might be worth noting that this happens to apps built using If you're using cra want to work the bug, around first Here's what my fixed version of that section looks like: cssProcessorPluginOptions: {
preset: ['default', { calc: false, minifyFontValues: { removeQuotes: false } }],
}, |
I've opened a PR for postcss-calc to fix this: postcss/postcss-calc#114 |
I've just verified that this is fixed with cssnano 7.0.4. Bump your lockfile |
It's not a bug. But I spend some time figure out how thing was happend. Hope this issue could save someone's time.
I found when I cssnano my css, the
Radio
will become:And I tried to disable some cssnano optimization option and finally figure out is the
calc
rule break this.Different part:
The text was updated successfully, but these errors were encountered: