diff --git a/src/password-input/index.less b/src/password-input/index.less index 14a2f00e8..b7ded60ba 100644 --- a/src/password-input/index.less +++ b/src/password-input/index.less @@ -32,11 +32,13 @@ li { position: relative; + display: flex; flex: 1; + align-items: center; + justify-content: center; height: 100%; font-size: @password-input-font-size; - line-height: @password-input-height; - text-align: center; + line-height: 1.2; background-color: @password-input-background-color; }