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

Error in less formula #93

Open
LttleSwill opened this issue Aug 1, 2016 · 1 comment
Open

Error in less formula #93

LttleSwill opened this issue Aug 1, 2016 · 1 comment

Comments

@LttleSwill
Copy link

I have the following in my less -
width: calc(50% - 40px);

but this gets generated as -
width: calc(10%);

I suspect it doesn't respect the different units. The former seems to be valid css to me.

@NDaskalov
Copy link

That is not an issue!
just use
width: calc(~'(50% - 40px)');

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

2 participants