From df5e02297db7db093d185df53d14f05fd667a4ad Mon Sep 17 00:00:00 2001 From: baiyaaaaa Date: Fri, 14 Oct 2016 23:47:26 +0800 Subject: [PATCH] fix input line-height (#431) --- examples/docs/zh-cn/form.md | 1 + packages/theme-default/src/input.css | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/docs/zh-cn/form.md b/examples/docs/zh-cn/form.md index 7caab2841..ab4589def 100644 --- a/examples/docs/zh-cn/form.md +++ b/examples/docs/zh-cn/form.md @@ -276,6 +276,7 @@ display: inline-block; margin-right: 10px; width: 270px; + vertical-align: top; } } .fr { diff --git a/packages/theme-default/src/input.css b/packages/theme-default/src/input.css index a8bac9d24..718c93104 100644 --- a/packages/theme-default/src/input.css +++ b/packages/theme-default/src/input.css @@ -19,7 +19,7 @@ border-radius: 4px; transition: var(--border-transition-base); outline: none; - font-size: inherit; + line-height: normal; &::placeholder { color: var(--input-placeholder-color);