Category badge missing in mobile search results

Description

The category badges are missing in mobile search results

Repro Steps

Use mobile view: https://meta.discourse.org/?mobile_view=1
Search for a term
Notice the missing badges that appear after you disable

.search-menu .search-link .badge-category {
    display: inline-block;
}

in the browser console

Screenshots

Platform

iOS (mobile)
Android (mobile)

Browser

Safari
Firefox
Chrome

2 Likes

@jordan-vidrine / @chapoi any thoughts here? I did notice we played with styling last week.

I see them, so maybe already fixed in the meantime?

FWIW

Meta branded theme iPhone/Safari:

1 Like

Ah, seems to be theme related then. It’s fine on default and horizon for me.

1 Like

Sorry! I could have mentioned that. I assumed it’s clear because this category is for feedback about “Meta Branded”

Is it? TIL. I had no idea; just thought it was general site feedback.

1 Like

Is this behavior still present for you?

Yes

3 Likes

Have you managed a repro yet?

My simple step-by-step:

  • On mobile (or mobile_view), select ‘meta branded’ as the theme from the theme-switcher in the footer of the sidebar
  • Use the header search bar to search for ‘test’ and press enter
  • View the results in the dropdown

I think it’s also a problem on the Air Theme as well:

2 Likes