Merge "Item label can now use overflow hidden"

This commit is contained in:
jenkins-bot 2020-10-22 20:49:56 +00:00 committed by Gerrit Code Review
commit d7b14f3fc2
2 changed files with 8 additions and 0 deletions

View file

@ -1103,6 +1103,7 @@ class EchoHooks implements RecentChange_saveHook {
'text' => $alertText,
'active' => ( $url == $title->getLocalURL() ),
'class' => $alertLinkClasses,
'text-wrapper' => 'span',
'data' => [
'counter-num' => $alertCount,
'counter-text' => $alertFormattedCount,
@ -1118,6 +1119,7 @@ class EchoHooks implements RecentChange_saveHook {
'text' => $msgText,
'active' => ( $url == $title->getLocalURL() ),
'class' => $msgLinkClasses,
'text-wrapper' => 'span',
'data' => [
'counter-num' => $msgCount,
'counter-text' => $msgFormattedCount,

View file

@ -75,6 +75,12 @@
visibility: hidden;
}
}
span {
overflow: hidden;
width: 100%;
display: inline-block;
}
}
&.oo-ui-flaggedElement-unseen,