From a834420533c475a431d4104fd131589eda728e2f Mon Sep 17 00:00:00 2001 From: Moriel Schottlender Date: Wed, 7 Sep 2016 16:17:29 -0700 Subject: [PATCH] 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 --- modules/styles/mw.echo.ui.NotificationItemWidget.less | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/styles/mw.echo.ui.NotificationItemWidget.less b/modules/styles/mw.echo.ui.NotificationItemWidget.less index b2df7c01a..91de5f265 100644 --- a/modules/styles/mw.echo.ui.NotificationItemWidget.less +++ b/modules/styles/mw.echo.ui.NotificationItemWidget.less @@ -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; }