Semantic-ui-react: Button: Icon button has different width if content is 0 (number)

Created on 22 May 2017  路  1Comment  路  Source: Semantic-Org/Semantic-UI-React

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

bug

Most helpful comment

@kirillku Thanks for awesome report. PR is coming.

>All comments

@kirillku Thanks for awesome report. PR is coming.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fuwywawyuh picture fuwywawyuh  路  24Comments

coolpopo picture coolpopo  路  26Comments

levithomason picture levithomason  路  39Comments

skleeschulte picture skleeschulte  路  22Comments

anhdle14 picture anhdle14  路  20Comments