From 170af35c03bc815908516d752217bce3b0c6b310 Mon Sep 17 00:00:00 2001 From: qiang Date: Tue, 11 Jun 2019 17:15:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=20input=20=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=20min-height=20=E6=A0=B7=E5=BC=8F=E4=B8=8D=E7=94=9F?= =?UTF-8?q?=E6=95=88=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/view/components/input/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/view/components/input/index.vue b/src/core/view/components/input/index.vue index a83d147471..c649daf92e 100644 --- a/src/core/view/components/input/index.vue +++ b/src/core/view/components/input/index.vue @@ -9,7 +9,7 @@ :disabled="disabled" :type="inputType" :maxlength="maxlength" - :step="step" + :step="step" autocomplete="off" @focus="_onFocus" @blur="_onBlur" @@ -287,7 +287,7 @@ export default { uni-input input { position: relative; - min-height: 1.4rem; + min-height: inherit; border: none; height: inherit; width: 100%; @@ -316,7 +316,7 @@ export default { uni-input div { position: relative; - min-height: 1.4rem; + min-height: inherit; text-overflow: inherit; border: none; height: inherit; @@ -344,7 +344,7 @@ export default { width: 100%; height: inherit; line-height: 100%; - min-height: 1.4rem; + min-height: inherit; white-space: pre; text-align: inherit; overflow: hidden; -- GitLab