From da1ac941d8fea83dafe87de154d147125f0715dd Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Wed, 3 Dec 2025 01:58:07 +0800 Subject: [PATCH] fix(components): [tab] fix style when tab position is bottom (#18425) * fix(components): [tab] fix style when tab position is bottom * style: remove redundant style --- packages/theme-chalk/src/tabs.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/theme-chalk/src/tabs.scss b/packages/theme-chalk/src/tabs.scss index 775201d7b0..92d67efa01 100644 --- a/packages/theme-chalk/src/tabs.scss +++ b/packages/theme-chalk/src/tabs.scss @@ -29,6 +29,9 @@ transform getCssVar('transition-duration') getCssVar('transition-function-ease-in-out-bezier'); list-style: none; + &.is-bottom { + bottom: auto; + } } @include e(new-tab) { display: flex; @@ -81,6 +84,11 @@ z-index: getCssVar('index-normal'); } + &.is-bottom::after { + top: 0; + bottom: auto; + } + @include when(scrollable) { padding: 0 20px; box-sizing: border-box;