Skip to content

Commit

Permalink
fix: antd button icon style (#5421)
Browse files Browse the repository at this point in the history
  • Loading branch information
mynetfan authored Jan 17, 2025
1 parent 2d0859a commit 3f0f4d5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/styles/src/antd/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@
.anticon {
display: inline-flex;
}

/* * 修复按钮添加图标时的位置问题 */
svg {
display: inline-block;
}

svg + span {
margin-inline-start: 6px;
}
}

.ant-message-notice-content,
Expand Down

1 comment on commit 3f0f4d5

@sshi-Yu
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image
本条提交貌似会导致tab栏图标的错位?

Please sign in to comment.