Skip to content

Ensure labels and KBDs in inapplicable task list items are crossed out

What does this MR do and why?

When labels or <kbd> tags appear in an inapplicable task list item, they should also have text-decoration: line-through;. This MR applies that.

MR acceptance checklist

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

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screenshot_2024-03-20_at_13.06.08 Screenshot_2024-03-20_at_13.05.39

How to set up and validate locally

  1. Visit an issue or MR
  2. add a checklist with at least one item that is inapplicable and contains labels and <kbd> tags (add ~ to the square brackets to make a checklist item inapplicable in markdown)
  3. You will see that in the non-edit state, the labels in the inapplicable checklist item also have strikethroughs.

Related to #444654 (closed), #425467 (closed)

Edited by Chad Lavimoniere

Merge request reports