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

Problem with @at-root and extending #1429

Closed
lmartins opened this issue Aug 5, 2015 · 2 comments
Closed

Problem with @at-root and extending #1429

lmartins opened this issue Aug 5, 2015 · 2 comments

Comments

@lmartins
Copy link

lmartins commented Aug 5, 2015

Hi, im having a problem which I believe is related to Libsass.
Im using the eq.js library, which declares a mixin making use of @at-root and extending features. The code for that can be viewed at:
https://github.com/Snugug/eq.js/blob/1.x.x/sass/_eq.scss#L25-L47

This mixin is used like this:

.loop--list{

    @include eq("large") {
        border: 1px solid red;
    }

Which is expected to output something like:

.loop--list[data-eq-state$='"large"'] {
    border: 1px solid red
}

What happens instead is this:

.loop--list .loop--list[data-eq-state$='"large"'] {
    border: 1px solid red
}

Thanks.

@xzyfer
Copy link
Contributor

xzyfer commented Aug 10, 2015

Please produce a copy pastable working code. We don't have to dig around into other people's libraries.

I believe this is likely a duplicate of #1297 and will be fixed by next LibSass release.

@mgreter
Copy link
Contributor

mgreter commented Aug 30, 2015

Closing because there is not enough information here to proceed.
Please re-open once you can provide working sample code. Thank you!

@mgreter mgreter closed this as completed Aug 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants