mirror of
https://github.com/element-plus/element-plus.git
synced 2025-02-17 11:49:41 +08:00
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:
parent
f986b63a00
commit
dffecc232a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user