Extra white space in scoped labels (help icon missing)

Summary

Scoped labels are rendered with extra white space at the end. (Firefox)

Steps to reproduce

View an issue or MR (or search results) with scoped labels on gitlab.com

Example Project

https://gitlab.com/gitlab-org/gitlab

What is the current bug behavior?

Within a MR; comment history and side bar:

image

image

issue search:

image

Hypothesis; the space is being left behind to render this sort of label:

image

What is the expected correct behavior?

I had to track down an existing screenshot! Should look like this:

image

Relevant logs and/or screenshots

(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's tough to read otherwise.)

Output of checks

This bug happens on GitLab.com

13.0.0-pre 2a4c3620

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Edited by Ben Prescott (ex-GitLab)