From cfa65f4461941a8cc0ae1bdcf187320fc3f70e62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=81=8F?= Date: Tue, 19 Oct 2021 15:23:30 +0800 Subject: [PATCH] Update switch.less --- src/styles/components/switch.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/components/switch.less b/src/styles/components/switch.less index 513ac887..cd6f76ea 100644 --- a/src/styles/components/switch.less +++ b/src/styles/components/switch.less @@ -70,7 +70,7 @@ display: block; } - &:focus { + &:not(&-disabled):focus { box-shadow: 0 0 0 2px fade(@primary-color, 20%); outline: 0; }