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
Less doesn't support new math functions (e.g. min, max) #3463
Comments
Note: This is likely also true for the related A workaroundFor anyone coming across this needing a workaround, you can always use LESS' string escaping capabilities to pass along a plain string to the CSS, eg.
|
@kbav Thanks,that's really helpful! |
If you need to use Less variables, e.g. @my-var: .01rem;
--my-var: @my-var;
border-width: ~"max(var(--my-var), 1px)"; |
Should be working as of Less 4 |
less 4.1.2
|
This code will break compile process.
The text was updated successfully, but these errors were encountered: