mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +00:00
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:
parent
3a4a2d3ff2
commit
a834420533
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue