From 2a898b4ff9cd3a6508ccd58ae5cc3677b450e28c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Wed, 28 Sep 2022 11:00:04 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8(component):=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../component/src/component/input/index.less | 22 +++++++++---------- .../component/src/component/input/index.vue | 2 +- .../component/src/component/select/index.less | 2 +- .../component/src/component/select/index.vue | 6 ++--- .../src/component/tagInput/index.less | 4 ++-- .../src/document/zh-CN/guide/changelog.md | 2 ++ 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/package/component/src/component/input/index.less b/package/component/src/component/input/index.less index 0399ca86..8945f090 100644 --- a/package/component/src/component/input/index.less +++ b/package/component/src/component/input/index.less @@ -78,26 +78,24 @@ background-color: white; } -.layui-input-prefix { - display: flex; - flex: none; - align-items: center; - padding: 0 15px; -} - +.layui-input-clear, +.layui-input-password, +.layui-input-prefix, .layui-input-suffix { display: flex; flex: none; align-items: center; - padding: 0 15px; + padding: 0 10px; +} + +.layui-input-has-prefix { + input { + padding: 0; + } } .layui-input-clear, .layui-input-password { - flex: none; - display: flex; - align-items: center; - padding-right: 10px; color: rgba(0, 0, 0, 0.45); } diff --git a/package/component/src/component/input/index.vue b/package/component/src/component/input/index.vue index f0a99a86..c93794fb 100644 --- a/package/component/src/component/input/index.vue +++ b/package/component/src/component/input/index.vue @@ -135,7 +135,7 @@ const showPassword = () => {