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

[Statistic] Size inside Group Does Not Work #3116

Closed
tristanjahier opened this issue Sep 30, 2015 · 4 comments
Closed

[Statistic] Size inside Group Does Not Work #3116

tristanjahier opened this issue Sep 30, 2015 · 4 comments
Milestone

Comments

@tristanjahier
Copy link

I have a couple of horizontal statistics in a group. I want every single statistic in it to be "tiny".
Although the "size" parameter applies correctly on independant statistics, as soon as they are grouped it does not work anymore. I think there is a bug.

Here is a JSFiddle that perfectly demonstrates the problem: http://jsfiddle.net/c2z7ve1a/

@jlukic
Copy link
Member

jlukic commented Sep 30, 2015

Looks like an inheritance issue

@jlukic jlukic added this to the 2.1.x milestone Sep 30, 2015
@jlukic jlukic changed the title Size does not apply to statistics groups [Statistic] Size inside Group Does Not Work Sep 30, 2015
@jlukic jlukic modified the milestones: 2.1.9, 2.1.x Feb 16, 2016
@jlukic
Copy link
Member

jlukic commented Feb 27, 2016

Fixed in next, also keep in mind you'll need to use ui tiny statistic for this to work.

@jlukic jlukic closed this as completed Feb 27, 2016
@jlukic jlukic modified the milestones: 2.1.9, 2.2 May 1, 2016
@andreyvk
Copy link

andreyvk commented Mar 7, 2018

Hi @jlukic ,

Very glad you're back!

This issue is still valid. Using ui tiny statistic under ui statistics container does not work at all. Please take a look at this. It would also be nice that it works not only with tiny but any other size of statistic.

@JoshuaKing
Copy link

JoshuaKing commented Apr 16, 2018

@andreyvk I found the same issue, and whilst it might not be the same solution, I found this: Semantic-Org/Semantic-UI-React#970

And confirmed that it works like I want it to - instead of:

<div class="ui statistics">
    <div class="ui mini statistic">
       ...
    </div>
    <div class="ui mini statistic">
       ...
    </div>
</div>

Try to do this:

<div class="ui mini statistics">
    <div class="ui statistic">
       ...
    </div>
    <div class="ui statistic">
       ...
    </div>
</div>

This wont help if you're wanting to mix sizes though

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

No branches or pull requests

4 participants