From ba67c7bf2360e6d64ef17ed2601b46c035dcaf26 Mon Sep 17 00:00:00 2001 From: neverland Date: Wed, 29 Apr 2020 20:09:07 +0800 Subject: [PATCH] style(PasswordInput): improve text size adjust (#6176) --- src/password-input/index.less | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; }