mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-09-23 10:22:05 +00:00
Keep bundled notification compact header on one line
Bug: T139321 Change-Id: I4b0a7173bc06a0760efff544bcc28a59ba72ce7f
This commit is contained in:
parent
b9d877d01a
commit
db838e42ce
|
@ -456,7 +456,7 @@ abstract class EchoEventPresentationModel implements JsonSerializable {
|
|||
|
||||
return array(
|
||||
'header' => $this->getHeaderMessage()->parse(),
|
||||
'compactHeader' => $this->getCompactHeaderMessage()->parse(),
|
||||
'compactHeader' => $this->getCompactHeaderMessage()->escaped(),
|
||||
'body' => $body ? $body->escaped() : '',
|
||||
'icon' => $this->getIconType(),
|
||||
'links' => array(
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
@bundle-group-padding: 0.7em;
|
||||
@notification-popup-width: 500px;
|
||||
@bundled-notification-header-width: 350px;
|
||||
|
||||
@opacity-low: 0.5;
|
||||
@opacity-mid: 0.8;
|
||||
|
|
|
@ -134,6 +134,11 @@
|
|||
display: table-cell;
|
||||
padding-right: 0.5em;
|
||||
width: 100%;
|
||||
|
||||
&-header {
|
||||
.mw-echo-ui-mixin-one-line-truncated;
|
||||
width: @bundled-notification-header-width;
|
||||
}
|
||||
}
|
||||
|
||||
&-content-actions {
|
||||
|
|
Loading…
Reference in a new issue