Skip to content

Commit

Permalink
fix(layout): 修复 collapsedShowTitle 样式错误问题 (ant-design#7098)
Browse files Browse the repository at this point in the history
* fix: change menu show title wrong css

* fix: change css
  • Loading branch information
ONLY-yours committed May 20, 2023
1 parent 2f764fc commit d6ba262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/layout/src/components/SiderMenu/style/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const genProLayoutBaseMenuStyle: GenerateStyle<ProLayoutBaseMenuToken> = (
},
[`&${token.componentCls}-item-collapsed-show-title`]: {
lineHeight: '16px',
height: '48px',
gap: 0,
[`&${token.componentCls}-item-title-collapsed`]: {
display: 'flex',
[`${token.componentCls}-item-icon`]: {
Expand Down

0 comments on commit d6ba262

Please sign in to comment.