Skip to content

Fix scoped label text color when background is light

What does this MR do?

For scoped labels, if the text on the left side is dark gray, the text on the right side should also be dark gray. This fixes haml labels and follows the same logic as gitlab-ui. Before this fix, the right side text would always render in the label color.

Screenshots

Before After
Screenshot_from_2020-02-27_14-08-54 Screenshot_from_2020-02-27_10-09-06

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Issue #208229 (closed)

Edited by Florie Guibert

Merge request reports