diff --git a/components/button/__tests__/__snapshots__/demo.test.ts.snap b/components/button/__tests__/__snapshots__/demo.test.ts.snap
index eee481b6af..4172fde3dd 100644
--- a/components/button/__tests__/__snapshots__/demo.test.ts.snap
+++ b/components/button/__tests__/__snapshots__/demo.test.ts.snap
@@ -551,6 +551,30 @@ Array [
Search
,
+
+
+
+
+ ,
,
,
,
+
+
+
+
+ ,
]
`;
diff --git a/components/button/demo/icon.md b/components/button/demo/icon.md
index f22efbc755..e26b3c5e21 100644
--- a/components/button/demo/icon.md
+++ b/components/button/demo/icon.md
@@ -47,6 +47,7 @@ ReactDOM.render(
}>
Search
+ } href="https://www.google.com" />
@@ -77,6 +78,7 @@ ReactDOM.render(
} size="large">
Search
+ } size="large" href="https://www.google.com" />
>,
mountNode,
);
diff --git a/components/button/style/index.less b/components/button/style/index.less
index 8198c06635..8d9ec23e45 100644
--- a/components/button/style/index.less
+++ b/components/button/style/index.less
@@ -109,6 +109,15 @@
}
}
+ // https://github.com/ant-design/ant-design/issues/32365
+ a&-icon-only {
+ vertical-align: -1px;
+
+ > .@{iconfont-css-prefix} {
+ display: inline;
+ }
+ }
+
&-round {
.btn-round(@btn-prefix-cls);
&.@{btn-prefix-cls}-icon-only {