From 0adc41acaa536dff9c8daf449e1a4fffc4e1cdb9 Mon Sep 17 00:00:00 2001 From: pany <939630029@qq.com> Date: Tue, 28 May 2024 21:56:50 +0800 Subject: [PATCH] fix(Tab): incorrect disabled style for card theme (#12885) --- packages/vant/src/tabs/index.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vant/src/tabs/index.less b/packages/vant/src/tabs/index.less index 4c8c5926c..72263ec67 100644 --- a/packages/vant/src/tabs/index.less +++ b/packages/vant/src/tabs/index.less @@ -60,7 +60,7 @@ background-color: var(--van-tabs-default-color); } - &--disabled { + &.van-tab--disabled { color: var(--van-tab-disabled-text-color); } }