Closed michellekondou closed 8 years ago
Thanks for fixing this @michellekondou. I'll merge this in and give it a test.
Unfortunately adding &
breaks Ruby Sass compilation (a good reminder to test for this) so I had to Revert this PR.
This is the Ruby Sass compilation error:
Base-level rules cannot contain the parent-selector-referencing character '&'
I didn't test LibSass compilation.
See: https://github.com/sass/sass/issues/1873.
Seems they're a few alternative options to get this working when you want to apply this mixin outside of a base-level rule.
Just a FYI: I'm focused on V3 of Scally ATM which doesn't include this mixin as it turns out Autoprefixer can handle this for you.
Without the parent selector the output for this:
is:
with a space between class and selector whereas it should be:
with no space