+
diff --git a/packages/styles/src/antd/index.css b/packages/styles/src/antd/index.css
index 7da7a397..3e47c891 100644
--- a/packages/styles/src/antd/index.css
+++ b/packages/styles/src/antd/index.css
@@ -13,15 +13,25 @@
}
/* * 修复按钮添加图标时的位置问题 */
- svg {
+ > svg {
display: inline-block;
}
- svg + span {
+ > svg + span {
margin-inline-start: 6px;
}
}
+.ant-tag {
+ > svg {
+ display: inline-block;
+ }
+
+ > svg + span {
+ margin-inline-start: 4px;
+ }
+}
+
.ant-message-notice-content,
.ant-notification-notice {
@apply dark:border-border/60 dark:border;
diff --git a/playground/src/views/examples/tippy/index.vue b/playground/src/views/examples/tippy/index.vue
index ff7985dd..628fa380 100644
--- a/playground/src/views/examples/tippy/index.vue
+++ b/playground/src/views/examples/tippy/index.vue
@@ -254,7 +254,7 @@ function goDoc() {
指令形式使用比较简洁,直接在需要展示tooltip的组件上用v-tippy传递配置,适用于固定内容的工具提示。
-
+