@import './index.less'; .@{form-item-prefix-cls} { // ================================================================ // = Status = // ================================================================ /* Some non-status related component style is in `components.less` */ // ========================= Explain ========================= /* To support leave along ErrorList. We add additional className to handle explain style */ &-explain { &-error { color: @error-color; } &-warning { color: @warning-color; } } &-has-feedback { // ========================= Input ========================= .@{ant-prefix}-input { padding-right: 24px; } // https://github.com/ant-design/ant-design/issues/19884 .@{ant-prefix}-input-affix-wrapper { .@{ant-prefix}-input-suffix { padding-right: 18px; } } // Fix issue: https://github.com/ant-design/ant-design/issues/7854 .@{ant-prefix}-input-search:not(.@{ant-prefix}-input-search-enter-button) { .@{ant-prefix}-input-suffix { right: 28px; } } // ======================== Switch ========================= .@{ant-prefix}-switch { margin: 2px 0 4px; } // ======================== Select ========================= // Fix overlapping between feedback icon and