# Upgrade has broken layout of category view

**URL:** <https://meta.discourse.org/t/upgrade-has-broken-layout-of-category-view/81664>\
**Category:** Bug\
**Created:** [2월 27, 2018, 2:31오후 UTC](https://meta.discourse.org/t/upgrade-has-broken-layout-of-category-view/81664 "2018-02-27T14:31:38Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![john-lynch](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/john-lynch/32/81514_2.png) [@john-lynch](https://meta.discourse.org/u/john-lynch)\
**Post date:** [2월 27, 2018, 2:31오후 UTC](https://meta.discourse.org/t/upgrade-has-broken-layout-of-category-view/81664/1 "2018-02-27T14:31:38Z")

</div>

I run a small forum for friends to hang out and discuss stuff. This morning I upgraded Discourse to the latest, and now the category rendering on the main discourse page is busted. I had added a banner image to each category. Previously, the banner would be displayed underneath the category title. Now it looks like this:

 ![layout%20change](https://global.discourse-cdn.com/meta/original/3X/9/a/9a2e6d361905ab0df300d98cbe7869c889ef06a4.PNG)

Instead of the banner image floating nicely underneath the title, it’s not mashed over to the side. You can also see that the post counts are running into the latest topics.

As best as I can tell (and I am by no means a CSS/layout expert, so I may very well be mistaken), this appears to be related to the work done on these issues:

> [@Regression in UI in default theme](https://meta.discourse.org/t/regression-in-ui-in-default-theme/81592):
>
> On the home page the categories listing is not displayed properly. Here is a screenshot:

> [@Overflow in suggested topics when category name is too long](https://meta.discourse.org/t/overflow-in-suggested-topics-when-category-name-is-too-long/81500):
>
> @awesomerobot Could you have a look at this? slight_smile

If I use Chrome’s developer tools to change the `display` for `.category-list .category-title-link` from `flex` to `block`, that almost seems to fix my issue:

 ![layout%20half%20fix](https://global.discourse-cdn.com/meta/original/3X/2/9/297eb5064b3debc690c738db7cb6ddcbb060bdac.PNG)

The banner images are now below the category titles again and the post counts aren’t running into the latest topic displays. Unfortunately, the lock icons are on a new line, which is undesirable.

I’m not sure what can be done to fix this. Please advise, and thank you.

---

_[View the full topic](https://meta.discourse.org/t/upgrade-has-broken-layout-of-category-view/81664)._
