Word-break overlong usernames

Also de-specify styles, we're already in `.action-history`, specificity
resulted from form elements below.

Bug: T237230
Change-Id: I82d9ab071084624025f1c723d2772a409750dbc9
This commit is contained in:
Volker E 2020-03-05 13:27:30 -08:00
parent a24040f0c8
commit f955bda480

View file

@ -68,6 +68,22 @@
margin-bottom: 1em;
}
// User name
.history-user {
float: left;
// margin separates the entire username (talk | contrib) block
// from the (cur|prev) links on the right. Approximates a  
margin-right: 0.5em;
.mw-userlink {
// margin separates the username
// from the (talk | contrib) links. Approximates a  
margin-right: 0.5em;
// Word-break overlong usernames, see T237230.
.hyphens( auto );
}
}
// stylelint-disable selector-max-id
#pagehistory {
margin-bottom: 24px;
@ -121,20 +137,6 @@
clear: none;
}
// user name
.history-user {
float: left;
// margin separates the entire username (talk | contrib) block
// from the (cur|prev) links on the right. Approximates a  
margin-right: 0.5em;
.mw-userlink {
// margin separates the username
// from the (talk | contrib) links. Approximates a  
margin-right: 0.5em;
}
}
// container for rollback, undo buttons
.mw-changeslist-links:not( .mw-usertoollinks ):not( .mw-history-histlinks ) {
// removing parentheses around undo button