Browse Source

fix selector order, close #2916

pull/2919/head
afc163 8 years ago
parent
commit
7c99d5fb9e
  1. 8
      components/form/style/mixin.less

8
components/form/style/mixin.less

@ -5,8 +5,12 @@
}
// 输入框的不同校验状态
.ant-input {
border-color: @border-color;
box-shadow: 0 0 0 2px fade(@border-color, 20%);
&,
&:hover,
&:focus {
border-color: @border-color;
box-shadow: 0 0 0 2px fade(@border-color, 20%);
}
&:not([disabled]):hover {
border-color: @border-color;

Loading…
Cancel
Save