Skip to content

brocken compiling with less v4 #678

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

Closed
WuglyakBolgoink opened this issue Sep 5, 2021 · 6 comments · Fixed by #679
Closed

brocken compiling with less v4 #678

WuglyakBolgoink opened this issue Sep 5, 2021 · 6 comments · Fixed by #679

Comments

@WuglyakBolgoink
Copy link
Contributor

to support LESS v4 you must wrap math operations with (...)

example

    margin-top: (-@handleSize / 2);
    padding-top: @handleSize / 2;

give back

    margin-top: -16px;
    padding-top: 32px/2;

and in this case padding-top will be ignored in browser and margin-top is correct!

please fix this asap!

@ValentinH
Copy link
Member

Thanks for reporting this. Would you like to create a PR?

@WuglyakBolgoink
Copy link
Contributor Author

@ValentinH are you published to npm now?

@ValentinH
Copy link
Member

It should be the case already or maybe I published to the wrong registry 🙈

@WuglyakBolgoink
Copy link
Contributor Author

@ValentinH

It should be the case already or maybe I published to the wrong registry 🙈

till now, nothing )

@ValentinH
Copy link
Member

It should be good now: v7.0.1

@WuglyakBolgoink
Copy link
Contributor Author

@ValentinH yes! thanks!

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

Successfully merging a pull request may close this issue.

2 participants