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

wrong css produced when minus sign used with variable #1017

Closed
maxgalbu opened this issue Nov 19, 2013 · 3 comments
Closed

wrong css produced when minus sign used with variable #1017

maxgalbu opened this issue Nov 19, 2013 · 3 comments

Comments

@maxgalbu
Copy link

$footerheight: 35px;
margin: 0 auto -$footerheight;

gets compiled to

margin: 0 auto-35px;

while if I use directly

margin: 0 auto -35px;

it gets compiled correctly

(I'm trying to use css sticky footer)

@Anahkiasen
Copy link

You can do this in the meantime margin: 0 auto (-$footerheight);, that works.

I can confirm bug on latest Sass : http://sassmeister.com/gist/7551941

@KittyGiraudel
Copy link

Workaround available here: #1023.

@nex3
Copy link
Contributor

nex3 commented Dec 7, 2013

This is expected; see #1023.

@nex3 nex3 closed this as completed Dec 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants