Keep bundled notification compact header on one line

Bug: T139321
Change-Id: I4b0a7173bc06a0760efff544bcc28a59ba72ce7f
This commit is contained in:
Stephane Bisson 2016-07-05 13:34:06 -04:00 committed by Mooeypoo
parent b9d877d01a
commit db838e42ce
3 changed files with 7 additions and 1 deletions

View file

@ -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(

View file

@ -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;

View file

@ -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 {