UX: Fix bar-style category dropdown (PR #14785)

Before

After

GitHub