Edit MR diffs note does not hide original text

Description

Noticed on .com

When editing a note on an MR diff, the original text isn't hidden.

Screen_Shot_2021-11-19_at_4.01.23_PM

Investigation

It looks like rules with .notes > li are no longer being picked up (relevant scss). Example:

/* line 181, app/assets/stylesheets/pages/notes.scss */
.notes > li.is-editing .note-header,
.notes > li.is-editing .note-text,
.notes > li.is-editing .edited-text {
  display: none;
}

This is because !71508 (diffs) introduced an intermediary child between ul.notes and the li, actually resulting in invalid HTML:

Screen_Shot_2021-11-19_at_4.19.56_PM