Chalk: Remove selector variable for &

This commit is contained in:
lirilsu 2017-10-19 15:53:36 +08:00 committed by 杨奕
parent 999db14732
commit 7c77cc3380

View File

@ -163,10 +163,8 @@
}
@mixin when($state) {
$selector: &;
@at-root {
#{$selector}.#{$state-prefix + $state} {
&.#{$state-prefix + $state} {
@content;
}
}