Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button: Icon button has different width if content is 0 (number) #1691

Closed
kirillku opened this issue May 22, 2017 · 1 comment
Closed

Button: Icon button has different width if content is 0 (number) #1691

kirillku opened this issue May 22, 2017 · 1 comment
Labels

Comments

@kirillku
Copy link

When icon button content is 0 (number), it's rendered with different width. Should be the same as with '0' (string).

Steps

  <Button icon='world' content={0} />
  <Button icon='world' content='0' />

Expected Result

expected

Actual Result

actual

Version

0.68.3

Testcase

codepen

@layershifter
Copy link
Member

@kirillku Thanks for awesome report. PR is coming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants