Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/theme/src/tabs/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@

// 最外层页签栏盒子
&__nav-wrap {
display: flex;
align-items: center;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The addition of display: flex; and align-items: center; to &__nav-wrap ensures that the tabs are properly aligned vertically, which should resolve the misalignment issue described in the PR.

position: relative;
margin-bottom: -1px;
width: 100%;
Expand Down Expand Up @@ -1219,7 +1221,6 @@
display: inline-block;
position: relative;
left: calc(var(--tv-Tabs-header-separator-padding-horizontal) + 1px);
top: 2px;
background-color: var(--tv-Tabs-header-separator-bg-color);
}

Expand Down
Loading