There will be a space for two Chinese characters in Button.

In

ant design, when the number of Chinese characters in the button is equal to 2, the component automatically increases the Chinese space. How to solve

< H2 > Code < / H2 >
<Button type="primary" htmlType="submit"></Button>
< H2 > effect < / H2 >

Apr.09,2022

manually add a space after the text to < Button > determine < / Button >


use css to control the letter-spacing attribute.

Menu