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
This commit is contained in:
btea
2025-12-03 01:58:07 +08:00
committed by GitHub
parent ddcae63665
commit da1ac941d8

View File

@@ -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;