After latest update, broken sub categories layout

Hi, I have three discourse self hosted sites, on one of them, list of categories don’t display well, instead of being under the main category, they are on the right side:

Any idea? Thanks.

Hi @patrickemin,

This is happening because of the default float behavior set on the category logo.

I would add this to your custom CSS:

.categories-list .category .category-logo.aspect-image {
  float: unset;
  margin: 0.5rem 0;

Thank you for your reply. I’ll try it out, it may be a temporary solution for one of my three sites, but it’s strange that it doesn’t happen on the other two sites, which have been updated in the same way.

float is tricky, the subcategories list going underneath depends on whether the height of the category description is vertically greater than the height and margins of the category logo.

1 Like

I see, thank you.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.