mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user