diff --git a/src/less/core/utils/common.less b/src/less/core/utils/common.less index 3fda04804..58e24bf76 100644 --- a/src/less/core/utils/common.less +++ b/src/less/core/utils/common.less @@ -42,7 +42,11 @@ textarea { } .bi-focus-shadow { - &:focus-within, &:focus, &:hover { + &:focus, &:hover { + border-color: @color-bi-border-highlight; + } + // ie下不支持focus-within, 和上面写在一起会导致ie下:hover不生效 + &:focus-within{ border-color: @color-bi-border-highlight; } &.disabled {