Browse Source

fix: Form Input bordered={false} outline style again (#31754)

close #31752
pull/31755/head
afc163 3 years ago
committed by GitHub
parent
commit
59c63737c7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      components/form/style/mixin.less
  2. 2
      components/input/style/mixin.less

4
components/form/style/mixin.less

@ -5,8 +5,8 @@
color: @text-color;
}
// 输入框的不同校验状态
:not(.@{ant-prefix}-input-disabled).@{ant-prefix}-input,
:not(.@{ant-prefix}-input-affix-wrapper-disabled).@{ant-prefix}-input-affix-wrapper {
:not(.@{ant-prefix}-input-disabled):not(.@{ant-prefix}-input-borderless).@{ant-prefix}-input,
:not(.@{ant-prefix}-input-affix-wrapper-disabled):not(.@{ant-prefix}-input-affix-wrapper-borderless).@{ant-prefix}-input-affix-wrapper {
&,
&:hover {
background-color: @background-color;

2
components/input/style/mixin.less

@ -80,7 +80,7 @@
.disabled();
}
&&-borderless {
&-borderless {
&,
&:hover,
&:focus,

Loading…
Cancel
Save