From 7379233810ff8c73afcb90cf206939eddc806157 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9D=91=BE=F0=9D=92=96=F0=9D=92=99=F0=9D=92=89?= Date: Tue, 12 Nov 2024 13:49:12 +0800 Subject: [PATCH] Revert "fix(icon-button): Button icon not vertically centered error" (#51588) --- components/button/style/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/button/style/index.ts b/components/button/style/index.ts index 70f96f1193..7613a72488 100644 --- a/components/button/style/index.ts +++ b/components/button/style/index.ts @@ -39,8 +39,7 @@ const genSharedButtonStyle: GenerateStyle = (token): CSS }, '> span': { - // https://github.com/ant-design/ant-design/issues/51380 - display: 'inline-flex', + display: 'inline-block', }, [`${componentCls}-icon`]: {