mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
fix(style): form field error border style for select (#20517)
* fix(style): form field error border style for select * fix: add style for input-group-addon * fix: remove invalid styles
This commit is contained in:
parent
849746b361
commit
8704569a30
@ -295,16 +295,17 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.@{ant-prefix}-select.@{ant-prefix}-select-auto-complete {
|
// fixes https://github.com/ant-design/ant-design/issues/20482
|
||||||
.@{ant-prefix}-input:focus {
|
.@{ant-prefix}-input-group-addon .@{ant-prefix}-select {
|
||||||
border-color: @error-color;
|
&.@{ant-prefix}-select-single:not(.@{ant-prefix}-select-customize-input)
|
||||||
|
.@{ant-prefix}-select-selector {
|
||||||
|
border: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.@{ant-prefix}-input-group-addon .@{ant-prefix}-select {
|
.@{ant-prefix}-select.@{ant-prefix}-select-auto-complete {
|
||||||
&-selector {
|
.@{ant-prefix}-input:focus {
|
||||||
border-color: transparent;
|
border-color: @error-color;
|
||||||
box-shadow: none;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user