diff --git a/components/input/demo/presuffix.md b/components/input/demo/presuffix.md index 2b9b5dc05e..a5c8f0e373 100644 --- a/components/input/demo/presuffix.md +++ b/components/input/demo/presuffix.md @@ -59,4 +59,7 @@ ReactDOM.render(, mountNode); .anticon-close-circle:hover { color: #999; } +.anticon-close-circle:active { + color: #666; +} ```` diff --git a/components/input/style/mixin.less b/components/input/style/mixin.less index 786290cdd7..8463ef93f1 100644 --- a/components/input/style/mixin.less +++ b/components/input/style/mixin.less @@ -294,7 +294,7 @@ top: 50%; transform: translateY(-50%); z-index: 2; - line-height: 1.2; + line-height: 0; } .@{inputClass}-prefix {