From 2fe60bc4a9d7751321f7720b72185a34161e22f2 Mon Sep 17 00:00:00 2001 From: Weicong Peng Date: Wed, 4 Aug 2021 09:47:42 +0800 Subject: [PATCH] fix(Tabs): remove invalid head padding for card type (#9168) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: 去除card类型的tabs头样式多余padding * style: 优化tabs组件not选择器写法 Co-authored-by: 彭伟聪 --- src/tabs/index.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tabs/index.less b/src/tabs/index.less index 7d724c730..5a1087deb 100644 --- a/src/tabs/index.less +++ b/src/tabs/index.less @@ -93,7 +93,7 @@ padding-bottom: 15px; /* 15px padding to hide scrollbar in mobile safari */ } - &--complete { + &--line&--complete { padding-right: var(--van-padding-xs); padding-left: var(--van-padding-xs); }