Skip to content

Commit

Permalink
🐞 fix: tabs Centered显示bug修改
Browse files Browse the repository at this point in the history
  • Loading branch information
Fox-ABC committed Feb 7, 2025
1 parent 45c7109 commit 8bb2e5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/tabs/style/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
},
},
Expand Down

0 comments on commit 8bb2e5e

Please sign in to comment.