mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-04 05:09:43 +08:00
Chalk: Remove selector variable for &
This commit is contained in:
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
Block a user