Fix danger dropdown item rendering

What does this MR do and why?

Removes gl-text-danger class from dropdown item with variant="danger" to avoid text color being low contrast.

Migrates outstanding gl-text-danger class dropdown to use variant="danger"

References

Screenshots or screen recordings

Before After
CleanShot_2025-03-14_at_09.06.03_2x CleanShot_2025-03-14_at_09.06.13_2x

How to set up and validate locally

  1. View work item
  2. Click three dot menu in header
  3. Hover over "Delete item"

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading