diff --git a/components/button/style/index.less b/components/button/style/index.less index 903817690adc..1929c3484af2 100644 --- a/components/button/style/index.less +++ b/components/button/style/index.less @@ -24,8 +24,8 @@ > i, > span { display: inline-block; - transition: margin-left 0.3s @ease-in-out; pointer-events: none; + transition: margin-left 0.3s @ease-in-out; } &-primary { diff --git a/components/descriptions/style/index.less b/components/descriptions/style/index.less index c29fceae2187..6282cd7533be 100644 --- a/components/descriptions/style/index.less +++ b/components/descriptions/style/index.less @@ -53,8 +53,8 @@ &-item-no-label { &::after { - margin: 0; content: ''; + margin: 0; } } diff --git a/components/input/style/mixin.less b/components/input/style/mixin.less index 4dafe941ab45..d98c2a52903f 100644 --- a/components/input/style/mixin.less +++ b/components/input/style/mixin.less @@ -370,20 +370,12 @@ position: absolute; top: 50%; z-index: 2; - height: calc(100% - 2px); color: @input-color; line-height: 0; - background-color: #fff; transform: translateY(-50%); :not(.anticon) { line-height: @line-height-base; } - .anticon { - position: relative; - top: 50%; - vertical-align: top; - transform: translateY(-50%); - } } .@{inputClass}-prefix { diff --git a/components/mentions/style/index.less b/components/mentions/style/index.less index 29e43b62ec2b..8e2d5038ac07 100644 --- a/components/mentions/style/index.less +++ b/components/mentions/style/index.less @@ -11,9 +11,9 @@ position: relative; display: inline-block; height: auto; + line-height: unset; padding: 0; overflow: hidden; - line-height: unset; white-space: pre-wrap; vertical-align: bottom;