Skip to content

Commit

Permalink
fix(react): use inline-flex to center icon (#636)
Browse files Browse the repository at this point in the history
Co-authored-by: 闲夕 <shizexian.szx@antgroup.com>
  • Loading branch information
MadCcc and 闲夕 committed Mar 22, 2024
1 parent 82c96e9 commit 6250d20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/icons-react/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ export const svgBaseProps = {

export const iconStyles = `
.anticon {
display: inline-block;
display: inline-flex;
alignItems: center;
color: inherit;
font-style: normal;
line-height: 0;
Expand Down

0 comments on commit 6250d20

Please sign in to comment.