diff --git a/components/_util/transButton.tsx b/components/_util/transButton.tsx index 45580114a1..a62dcd038d 100644 --- a/components/_util/transButton.tsx +++ b/components/_util/transButton.tsx @@ -19,7 +19,7 @@ const inlineStyle: React.CSSProperties = { background: 'transparent', padding: 0, lineHeight: 'inherit', - display: 'inline-flex', + display: 'inline-block', }; const TransButton = React.forwardRef((props, ref) => { diff --git a/components/input/__tests__/__snapshots__/demo-extend.test.ts.snap b/components/input/__tests__/__snapshots__/demo-extend.test.ts.snap index ca8644d8af..dd77b80d71 100644 --- a/components/input/__tests__/__snapshots__/demo-extend.test.ts.snap +++ b/components/input/__tests__/__snapshots__/demo-extend.test.ts.snap @@ -725,7 +725,7 @@ Array [ aria-label="Copy" class="ant-typography-copy" role="button" - style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-flex;" + style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" >