Skip to content

Commit 450a823

Browse files
committed
fix(layout): fix menu item no aligen error
close #7471
1 parent 5a8f9fb commit 450a823

File tree

1 file changed

+2
-2
lines changed
  • packages/layout/src/components/SiderMenu/style

1 file changed

+2
-2
lines changed

packages/layout/src/components/SiderMenu/style/menu.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const genProLayoutBaseMenuStyle: GenerateStyle<ProLayoutBaseMenuToken> = (
8080
width: '16px',
8181
lineHeight: '16px !important',
8282
'.anticon': {
83-
lineHeight: '16px',
83+
lineHeight: '16px !important',
8484
height: '16px',
8585
},
8686
},
@@ -104,7 +104,7 @@ const genProLayoutBaseMenuStyle: GenerateStyle<ProLayoutBaseMenuToken> = (
104104
width: '16px',
105105
lineHeight: '16px !important',
106106
'.anticon': {
107-
lineHeight: '16px',
107+
lineHeight: '16px!important',
108108
height: '16px',
109109
},
110110
},

0 commit comments

Comments
 (0)