Subcategories render differently in docked titles

This is very minor, and has possibly been like this forever…

We’re displaying the split category/subcategory badge in the docked title header, but not in the default non-scrolled title.

It seems like our “rule” elsewhere is to not show the split subcategory badge when the full parent category name is present (that’s what we do in the breadcrumb nav, for example). So when the title docks into the header, we shouldn’t split the subcategory badge to include the parent category.

14 Likes

Fixed this here:

https://github.com/discourse/discourse/commit/797da5870be1e651f68d32ec47374a057c878625

Screenshot 2023-11-13 at 4.19.21 PM

1 Like