🐞 fix: tabs Centered显示bug修改

pull/8033/head
王干 2025-02-07 16:32:15 +08:00
parent 45c7109212
commit 8bb2e5e406
1 changed files with 2 additions and 2 deletions

View File

@ -858,8 +858,8 @@ const genTabsStyle: GenerateStyle<TabsToken> = (token: TabsToken): CSSObject =>
[`${componentCls}-centered`]: {
[`> ${componentCls}-nav, > div > ${componentCls}-nav`]: {
[`${componentCls}-nav-wrap`]: {
[`&:not([class*='${componentCls}-nav-wrap-ping'])`]: {
justifyContent: 'center',
[`&:not([class*='${componentCls}-nav-wrap-ping']) > ${componentCls}-nav-list`]: {
margin: 'auto',
},
},
},