Scoped labels padding is incorrect in labels list
In the labels list:
In the sidebar:
This is due to:
.label-list-item .label-name .gl-label-scoped .gl-label-text:last-of-type {
padding-right: 22px;
}
Also I'm not sure why we added that when we already have .gl-label-scoped .gl-label-text:last-child
from gitlab-ui CSS that sets the padding.
I think we should remove that CSS rule and fix the markup instead. This happens on the "non-link" versions of labels because :last-child
here would actually be the doc link. So for non-links we should probably still wrap it in a span or something.
Or the other option would be to fix the gitlab-ui CSS so that we use :last-of-type
instead of :last-child