提交 170af35c 编写于 作者: Q qiang

fix: 解决 input 组件 min-height 样式不生效的问题

上级 2e671e79
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
:disabled="disabled" :disabled="disabled"
:type="inputType" :type="inputType"
:maxlength="maxlength" :maxlength="maxlength"
:step="step" :step="step"
autocomplete="off" autocomplete="off"
@focus="_onFocus" @focus="_onFocus"
@blur="_onBlur" @blur="_onBlur"
...@@ -287,7 +287,7 @@ export default { ...@@ -287,7 +287,7 @@ export default {
uni-input input { uni-input input {
position: relative; position: relative;
min-height: 1.4rem; min-height: inherit;
border: none; border: none;
height: inherit; height: inherit;
width: 100%; width: 100%;
...@@ -316,7 +316,7 @@ export default { ...@@ -316,7 +316,7 @@ export default {
uni-input div { uni-input div {
position: relative; position: relative;
min-height: 1.4rem; min-height: inherit;
text-overflow: inherit; text-overflow: inherit;
border: none; border: none;
height: inherit; height: inherit;
...@@ -344,7 +344,7 @@ export default { ...@@ -344,7 +344,7 @@ export default {
width: 100%; width: 100%;
height: inherit; height: inherit;
line-height: 100%; line-height: 100%;
min-height: 1.4rem; min-height: inherit;
white-space: pre; white-space: pre;
text-align: inherit; text-align: inherit;
overflow: hidden; overflow: hidden;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册