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

not working in "margin calc" #314

Closed
petamoriken opened this issue Jul 10, 2014 · 6 comments
Closed

not working in "margin calc" #314

petamoriken opened this issue Jul 10, 2014 · 6 comments
Assignees
Milestone

Comments

@petamoriken
Copy link

input

.hoge {
    margin: 0 calc((100% - 10px) / 5);
}

output

.hoge{margin:0 100% 10px 5}

Please fix this function.
Thank you.

@GoalSmashers
Copy link
Contributor

Fix is coming, please use --skip-advanced switch in the meantime.

@petamoriken
Copy link
Author

Thank you for your reply.
I got it!

@zanona
Copy link

zanona commented Jan 7, 2015

I have the same error with 3.0.3

body {
    margin-left:calc(-50vw + (1024px/2));
}

converts to:

body {
    margin-left:calc(-50vw +(1024px/2));
}

which does not generate the same result.

@jakubpawlowicz
Copy link
Collaborator

Well, it's not fixed so it shouldn't be closed. Reopening.

@jakubpawlowicz
Copy link
Collaborator

It's fixed in 3.0.4.

@zanona
Copy link

zanona commented Jan 11, 2015

thanks @jakubpawlowicz! 👍

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

4 participants