mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-03 04:39:09 +08:00
Chalk: Remove selector variable for &
This commit is contained in:
parent
999db14732
commit
7c77cc3380
@ -163,10 +163,8 @@
|
||||
}
|
||||
|
||||
@mixin when($state) {
|
||||
$selector: &;
|
||||
|
||||
@at-root {
|
||||
#{$selector}.#{$state-prefix + $state} {
|
||||
&.#{$state-prefix + $state} {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user