fix(components): [select-v2] Fix border color error (#12755)

* fix(components): [select-v2] Fix border color error

* fix(components): [select] updated code
This commit is contained in:
白雾三语 2023-05-23 23:16:30 +08:00 committed by GitHub
parent f986b63a00
commit dffecc232a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -215,6 +215,12 @@ $form-item-label-top-margin-bottom: map.merge(
}
@include when(error) {
.#{$namespace}-select-v2__wrapper {
&.is-focused {
border-color: transparent;
}
}
.#{$namespace}-select-v2__wrapper,
.#{$namespace}-textarea__inner {
&,
@ -222,6 +228,7 @@ $form-item-label-top-margin-bottom: map.merge(
box-shadow: 0 0 0 1px getCssVar('color-danger') inset;
}
}
.#{$namespace}-input__wrapper {
box-shadow: 0 0 0 1px getCssVar('color-danger') inset;
}