提交 66983412 编写于 作者: S SimaQ

fix: 添加 ant-input-number 的校验样式支持。 Closes#377。

上级 8e00cded
......@@ -312,6 +312,12 @@ form {
.@{calendar-prefix-cls}-picker-icon:after {
color: @warning-color;
}
// ant-input-number
.@{input-number-prefix-cls} {
border-color: @warning-color;
box-shadow: 0 0 0 2px tint(@warning-color, 80%);
}
}
.has-error {
......@@ -338,6 +344,12 @@ form {
.@{calendar-prefix-cls}-picker-icon:after {
color: @error-color;
}
// ant-input-number
.@{input-number-prefix-cls} {
border-color: @error-color;
box-shadow: 0 0 0 2px tint(@error-color, 80%);
}
}
.is-validating {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册