Remove js-truncation of descriptions in Special:Notifications desktop

In order for the special page to be responsive, the descriptions can't
be truncated in the JS. If they are, they take a bigger portion
of the screen, sometimes going out of its confines.

The popup should still truncate descriptions.

Change-Id: I533f29c00482f6cfbb7b1c9c7417715e3c5809bf
This commit is contained in:
Moriel Schottlender 2016-09-07 16:17:29 -07:00
parent 3a4a2d3ff2
commit a834420533

View file

@ -61,11 +61,11 @@
color: @notification-text-color;
}
&-body {
@media all and ( min-width: @specialpage-hd-width ) {
// Don't truncate on small screens
// In the popup only, truncate the text to one-line
// with ellipses
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup & {
.mw-echo-ui-mixin-one-line-truncated;
}
color: @notification-body-color;
margin-top: 4px;
}