Partial Revert "Make sure contributor's name is on its line"

This partially reverts commit f8d410fb98.
and replaces the selector with a selector that considers spans which have link inside them. This ensures the whole row remains clickable
and takes the user to the diff.

Reason for revert: Caused
https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#Recent_changes_on_mobile

Bug: T378142
Change-Id: Iff944817d9fe1664a60ec30413c159247706a5e7
(cherry picked from commit b130c93b8f)
This commit is contained in:
Jdlrobson 2024-10-25 21:02:16 +00:00
parent f8d410fb98
commit 04f79979c3

View file

@ -203,7 +203,8 @@ ul.mw-contributions-list li .mw-rollback-link {
}
}
.mw-changeslist-links > span {
/** hide if the span does not have any links inside it */
.mw-changeslist-links > span:not( :has( a ) ) {
display: none;
}