Commit 7c77cc33 authored by lirilsu's avatar lirilsu Committed by 杨奕

Chalk: Remove selector variable for &

parent 999db147
...@@ -163,10 +163,8 @@ ...@@ -163,10 +163,8 @@
} }
@mixin when($state) { @mixin when($state) {
$selector: &;
@at-root { @at-root {
#{$selector}.#{$state-prefix + $state} { &.#{$state-prefix + $state} {
@content; @content;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment