diff --git a/components/input/style/mixin.less b/components/input/style/mixin.less index 82b0b0e934..b7d1aba8f7 100644 --- a/components/input/style/mixin.less +++ b/components/input/style/mixin.less @@ -50,7 +50,6 @@ color: @input-color; font-size: @font-size-base; line-height: @line-height-base; - text-align: inherit; background-color: @input-bg; background-image: none; border: @border-width-base @border-style-base @input-border-color; @@ -136,6 +135,7 @@ float: left; width: 100%; margin-bottom: 0; + text-align: inherit; &:focus { z-index: 1; // Fix https://gw.alipayobjects.com/zos/rmsportal/DHNpoqfMXSfrSnlZvhsJ.png border-right-width: 1px; @@ -355,6 +355,7 @@ .@{inputClass} { position: relative; + text-align: inherit; } .@{inputClass}-prefix,