mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
fix: select focus border in form when has error (#27378)
This commit is contained in:
parent
c84cd88f51
commit
88414b3b33
@ -144,6 +144,10 @@
|
|||||||
&.@{ant-prefix}-select-focused .@{ant-prefix}-select-selector {
|
&.@{ant-prefix}-select-focused .@{ant-prefix}-select-selector {
|
||||||
.active(@warning-color);
|
.active(@warning-color);
|
||||||
}
|
}
|
||||||
|
&-focused,
|
||||||
|
&:focus {
|
||||||
|
.active(@warning-color);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//input-number, timepicker
|
//input-number, timepicker
|
||||||
@ -185,6 +189,10 @@
|
|||||||
&.@{ant-prefix}-select-focused .@{ant-prefix}-select-selector {
|
&.@{ant-prefix}-select-focused .@{ant-prefix}-select-selector {
|
||||||
.active(@error-color);
|
.active(@error-color);
|
||||||
}
|
}
|
||||||
|
&-focused,
|
||||||
|
&:focus {
|
||||||
|
.active(@error-color);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// fixes https://github.com/ant-design/ant-design/issues/20482
|
// fixes https://github.com/ant-design/ant-design/issues/20482
|
||||||
|
Loading…
Reference in New Issue
Block a user