-
Notifications
You must be signed in to change notification settings - Fork 7
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
Multiple @extend rules in the same block don't process the second @extend correctly #10
Comments
No nagging, but I had a go at this, and it's way above my head =/ so I hope someone else sees the need for this in the near future and has a go at it. Cheers! Edit: I made a pull request and now my wife is not happy for me spending the evening at it. |
@jzarzeckis @gnimmelf Just use %foo {
right: 0;
}
%bar {
left: 0;
}
.baz {
@extend %foo, %bar;
} And by the way, you can only use %foo {
right: 0;
}
%bar {
left: 0;
}
.baz {
top: 0;
@extend %foo, %bar;
} |
@kongxiangyan where were you a week ago? Anyway, much appreciated, so thanks. @jonathantneal The |
Hello @gnimmelf , @kongxiangyan, @jonathantneal Thanks for the discussion above. It was really helpful. But do you know @extend rule does not work for child classes. For example :-
|
Ah, after spending time on debugging. |
Worked in 2.0.0, but doesn't generate correctly on 3.0.0.
The text was updated successfully, but these errors were encountered: