You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Content of the button is in the middle with space between text and icon.
What is actually happening?
Icon in RTL button with iconPosition="start" has no margin from the text.
Icon in RTL button with iconPosition="end" has unnecessary margin which makes content of the button not in the middle.
Environment
Info
antd
5.17.0
React
18.3.1
System
MacOS 14.4.1
Browser
Edge 124.0.2478.80
The text was updated successfully, but these errors were encountered:
Reproduction link
https://ant.design/components/button?direction=rtl
Steps to reproduce
Add icon to RTL button.
What is expected?
Content of the button is in the middle with space between text and icon.
What is actually happening?
Icon in RTL button with iconPosition="start" has no margin from the text.
Icon in RTL button with iconPosition="end" has unnecessary margin which makes content of the button not in the middle.
The text was updated successfully, but these errors were encountered: