-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Statistic size Prop doesn't work inside Statistic.Group #970
Comments
Looks like there's a more specific rule on Semantic-UI-React only concerns itself with React components that generate valid Semantic-UI markup. There is no HTML nor CSS code in this project. This may be an issue you can raise in the core Semantic-UI repo. However, since in your case all of the statistics are the same size you can defined |
Hi @jcarbo Thanks for the PR! I'm running on 0.62.0 now but the <Statistic.Group items={stats} widths={stats.length} size="small" /> The "size" class (in this case I also tried adding the const stats = [
{
label : 'Failing',
value : failedTestCount,
color : 'grey',
size : 'small'
},
{
label : statusText,
value : percentage,
color : statusColor,
size : 'small'
},
{
label : 'Passing',
value : passedTestCount,
color : 'green',
size : 'small'
}
] Everything else except the size seems to be working. Any ideas? Cheers, |
@schnubor this has got to be something with the project. The docs, codepen, and tests show this is working. Here is an example: http://codepen.io/levithomason/pen/dOKYXw Not sure what could be going on in the project. |
Thanks @levithomason ! |
The text was updated successfully, but these errors were encountered: