-
Notifications
You must be signed in to change notification settings - Fork 71
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
Current version of less breaks media query aspect ratios #69
Comments
@JamesMcIntosh - How to treat the "/" character has been an issue for all versions of Less. It's not a new problem for 3.x. |
Per @matthew-dean closing this issue since it's not something watcher can fix |
This is something that can be fixed, less/less.js#3205 fixed this problem, upgrade the LESS dependency to version 3.8.1 |
Just released an update @ |
Awesome, I'll give it a test! |
This LESS version does fix the problem but it requires a command line option to enable the functionality, see the math section http://lesscss.org/usage/#less-options Looks like updating the
and adding the option to
Should be enough to activate the functionality, I'll look at a PR. |
PR #77 adds the functionality and improves the setup of the unit tests to stop configuration accidentally spilling over between tests. |
…uery #69 - Add ability to specify any LESS options
You can now pass less options in |
Version 3.0.4 of less is not yet a very good and stable release.
They have broken things like aspect ratios, see:
less/less.js#1880
Having a media query like the following breaks because it is "16/9" is converted to a decimal 1.7777778
@media (max-width: 50em) and (max-aspect-ratio: 16/9)
The text was updated successfully, but these errors were encountered: