You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am playing around with the new @import (reference) ... feature and encountered a strange behavior.
If I am using the parent selector "&" inside a mixin that is located in a file that is imported with the (reference) statement (and then call the mixin from another file) all the parent-selectors are ignored.
So if I have this in the mixin:
a {
color: #f00;
&:hover {
color: #0f0;
}
}
This is what comes out:
a {
color: #f00;
}
Beside that the reference feature is really great. Thank you for that.
The text was updated successfully, but these errors were encountered:
Wasn't it fixed in 1.5.1? At least I can't reproduce this with current master. Well, the above example is a bit awkward since a can't be a mixin, but if I compile something like this:
Hi, I am playing around with the new
@import (reference) ...
feature and encountered a strange behavior.If I am using the parent selector "&" inside a mixin that is located in a file that is imported with the
(reference)
statement (and then call the mixin from another file) all the parent-selectors are ignored.So if I have this in the mixin:
This is what comes out:
Beside that the reference feature is really great. Thank you for that.
The text was updated successfully, but these errors were encountered: