From e17cc35dcfb4aeb6c57583abc2b82a0d6229612d Mon Sep 17 00:00:00 2001 From: neverland Date: Sun, 14 Aug 2022 09:44:52 +0800 Subject: [PATCH] fix(Search): --van-search-input-height var not work (#10911) * fix(Search): --van-search-input-height var not work * chore: update padding --- packages/vant/src/search/index.less | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/vant/src/search/index.less b/packages/vant/src/search/index.less index c5189185c..1f6b87d54 100644 --- a/packages/vant/src/search/index.less +++ b/packages/vant/src/search/index.less @@ -42,7 +42,9 @@ &__field { flex: 1; - padding: 5px var(--van-padding-xs) 5px 0; + align-items: center; + padding: 0 var(--van-padding-xs) 0 0; + height: var(--van-search-input-height); background-color: transparent; .van-field__left-icon {