mirror of https://github.com/ElemeFE/element
Chalk: Remove selector variable for &
parent
999db14732
commit
7c77cc3380
|
@ -163,10 +163,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin when($state) {
|
@mixin when($state) {
|
||||||
$selector: &;
|
|
||||||
|
|
||||||
@at-root {
|
@at-root {
|
||||||
#{$selector}.#{$state-prefix + $state} {
|
&.#{$state-prefix + $state} {
|
||||||
@content;
|
@content;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue