diff --git a/components/form/style/index.less b/components/form/style/index.less index 1967010e3..97d41fcfe 100644 --- a/components/form/style/index.less +++ b/components/form/style/index.less @@ -136,23 +136,11 @@ form { .has-feedback { - .@{ant-prefix}-input { - padding-right: @input-padding-horizontal-base + @input-affix-width; - } - // https://github.com/ant-design/ant-design/issues/19884 .@{ant-prefix}-input-affix-wrapper { .@{ant-prefix}-input-suffix { padding-right: 18px; } - .@{ant-prefix}-input { - padding-right: @input-padding-horizontal-base + @input-affix-width * 2; - } - &.@{ant-prefix}-input-affix-wrapper-input-with-clear-btn { - .@{ant-prefix}-input { - padding-right: @input-padding-horizontal-base + @input-affix-width * 3; - } - } } // Fix overlapping between feedback icon and