diff --git a/packages/styles/src/antd/index.css b/packages/styles/src/antd/index.css index ed822fdcabc..04dc607d0bf 100644 --- a/packages/styles/src/antd/index.css +++ b/packages/styles/src/antd/index.css @@ -11,6 +11,15 @@ .anticon { display: inline-flex; } + + /* * 修复按钮添加图标时的位置问题 */ + svg { + display: inline-block; + } + + svg + span { + margin-inline-start: 6px; + } } .ant-message-notice-content,