Explorar el Código

Chalk: Remove selector variable for &

lirilsu hace 7 años
padre
commit
7c77cc3380
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. 1 3
      packages/theme-chalk/src/mixins/mixins.scss

+ 1 - 3
packages/theme-chalk/src/mixins/mixins.scss

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