Skip to content

Commit 352b7dd

Browse files
authored
fix(tabs): [tabs] 修复页签使用分隔符导致两端按钮无法对齐以及分隔符未居中的bug (#2912)
1 parent b2215cb commit 352b7dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/theme/src/tabs/index.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@
8686

8787
// 最外层页签栏盒子
8888
&__nav-wrap {
89+
display: flex;
90+
align-items: center;
8991
position: relative;
9092
margin-bottom: -1px;
9193
width: 100%;
@@ -1219,7 +1221,6 @@
12191221
display: inline-block;
12201222
position: relative;
12211223
left: calc(var(--tv-Tabs-header-separator-padding-horizontal) + 1px);
1222-
top: 2px;
12231224
background-color: var(--tv-Tabs-header-separator-bg-color);
12241225
}
12251226

0 commit comments

Comments
 (0)