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

Position shorthand doesn't work more #48

Closed
felipefialho opened this issue Dec 13, 2016 · 3 comments
Closed

Position shorthand doesn't work more #48

felipefialho opened this issue Dec 13, 2016 · 3 comments

Comments

@felipefialho
Copy link

felipefialho commented Dec 13, 2016

Today this shorthand stoped working:

$space = .5rem

&:after  
        background-color $brand-primary 
        content ''
        display none
        position absolute $space-xs

It's generated:

screen shot 2016-12-13 at 16 14 35

Until yesterday everything worked fine. I already tryed reinstall the node_modules.

😿

What happens?

@madeleineostoja
Copy link
Owner

Nothing's changed in Rucksack or postcss-position (the plugin that handles position shorthands) in the last few days. Could you try using the .5rem value directly, rather than in a variable?

@felipefialho
Copy link
Author

Yes, I tryed.

If I use...

position absolute 
top $space-xs

Works fine too.

Very stranged.

@felipefialho
Copy link
Author

Sorry guys, I think it is a problem on my node_modules. 👊

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