Boxed categories selector minor issue

When category style is set to box, the number of topics sometimes goes to a new line:
image

I believe it was caused by this fix (which was about another issue also happening in boxed categories):

It can be fixed by removing flex-wrap: wrap from .category-status.

I tried the other category styles with this modification and I didn’t see any issue, but since I don’t have a deep knowledge of Discourse styles, I don’t know if there would be any “hidden” collateral damage from removing this attribute.
I guess there’s a reason (maybe an obsolete one?) for which flex-wrap has been set to wrap here? :man_shrugging:t6:

4 Likes

Good point, anything we need to do here @awesomerobot?

3 Likes

This will prevent the count from wrapping, and also prevents the category name from causing the count to overflow on mobile

6 Likes