Break title on watchlist and scope non-hyphenated links

Non-hyphenated links according to T230860 were added for
infoboxes but the default is no hyphens so these no
longer should be needed. It was likely working around
a recently removed bit of CSS in MediaWiki:Minerva.css
(See T248415)

The new selector is needed for Special:Contributions

Bug: T237230
Change-Id: I500ca1a6182f505ceb31441c49e4dcacd597a5d3
This commit is contained in:
jdlrobson 2020-03-26 15:46:02 -07:00 committed by Jdlrobson
parent df3c71e4a3
commit e56302a3f6
2 changed files with 5 additions and 1 deletions

View file

@ -19,7 +19,6 @@ a:not( [ href ] ) {
a {
text-decoration: none;
color: @linkColor;
hyphens: none;
&:visited {
color: #6b4ba1;

View file

@ -32,6 +32,7 @@ ul.special {
// the following selector are nested due to their
// generic names.
.mw-contributions-title,
.mw-title {
font-weight: bold;
// Word-break overlong user names, see T237230.
@ -47,6 +48,10 @@ ul.special {
}
}
.mw-title a {
word-break: break-word;
}
// T232955: Properly align deletion comments
span.mw-changeslist-log-entry {
.comment {