mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +00:00
Merge "Item label can now use overflow hidden"
This commit is contained in:
commit
d7b14f3fc2
|
@ -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,
|
||||
|
|
|
@ -75,6 +75,12 @@
|
|||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
span {
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
&.oo-ui-flaggedElement-unseen,
|
||||
|
|
Loading…
Reference in a new issue