Browse Source

Switch: not display outline when focused (#12771)

hetech 7 năm trước cách đây
mục cha
commit
1cbc9f6363
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  1. 0 3
      packages/theme-chalk/src/switch.scss

+ 0 - 3
packages/theme-chalk/src/switch.scss

@@ -49,9 +49,6 @@
     height: 0;
     opacity: 0;
     margin: 0;
-    &:focus ~ .el-switch__core {
-      outline: 1px solid $--color-primary;
-    }
   }
 
   @include e(core) {