Bsitu has uploaded a new change for review. https://gerrit.wikimedia.org/r/151805
Change subject: Add mw-ui-text-truncated to overlay and special page ...................................................................... Add mw-ui-text-truncated to overlay and special page To support display of truncated text Change-Id: I0ef9eeb9f9d3403f79ee9960b075fb7062150a1d --- M Resources.php M modules/overlay/ext.echo.overlay.less M modules/special/ext.echo.special.less 3 files changed, 12 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo refs/changes/05/151805/1 diff --git a/Resources.php b/Resources.php index fc814ec..aee3760 100644 --- a/Resources.php +++ b/Resources.php @@ -63,6 +63,7 @@ 'dependencies' => array( 'ext.echo.desktop', 'mediawiki.util', + 'mediawiki.ui.utilities', 'mediawiki.language', ), 'messages' => array( @@ -83,6 +84,7 @@ 'dependencies' => array( 'ext.echo.desktop', 'mediawiki.ui.button', + 'mediawiki.ui.utilities', ), 'messages' => array( 'echo-load-more-error', diff --git a/modules/overlay/ext.echo.overlay.less b/modules/overlay/ext.echo.overlay.less index e3e4ea2..3416913 100644 --- a/modules/overlay/ext.echo.overlay.less +++ b/modules/overlay/ext.echo.overlay.less @@ -37,6 +37,11 @@ margin: 0; padding: 0; } + + .mw-ui-text-truncated { + max-width: 100%; + display: inline-block; + } } } diff --git a/modules/special/ext.echo.special.less b/modules/special/ext.echo.special.less index 57cb9c2..da76fd6 100644 --- a/modules/special/ext.echo.special.less +++ b/modules/special/ext.echo.special.less @@ -69,6 +69,11 @@ padding: 0; margin: 30px 0 0 0; max-width: 600px; + + .mw-ui-text-truncated { + max-width: 100%; + display: inline-block; + } } .mw-echo-notification { -- To view, visit https://gerrit.wikimedia.org/r/151805 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I0ef9eeb9f9d3403f79ee9960b075fb7062150a1d Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Echo Gerrit-Branch: master Gerrit-Owner: Bsitu <bs...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits