Browse Source

Radio: fix focus style (#12262)

Jikkai Xiao 7 năm trước cách đây
mục cha
commit
b1be1f4c04
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/theme-chalk/src/radio-button.scss

+ 1 - 1
packages/theme-chalk/src/radio-button.scss

@@ -107,7 +107,7 @@
     }
   }
 
-  &:focus:not(.is-focus):not(:active){ /*获得焦点时 样式提醒*/
+  &:focus:not(.is-focus):not(:active):not(.is-disabled){ /*获得焦点时 样式提醒*/
     box-shadow: 0 0 2px 2px $--radio-button-checked-border-color;
   }
 }