diff --git a/Resources.php b/Resources.php index 10497344b..73475598b 100644 --- a/Resources.php +++ b/Resources.php @@ -90,6 +90,7 @@ $wgResourceModules += array( 'styles/mw.echo.ui.SubGroupListWidget.less', 'styles/mw.echo.ui.MenuItemWidget.less', 'styles/mw.echo.ui.FooterNoticeWidget.less', + 'styles/mw.echo.ui.NotificationsWrapper.less', ), 'skinStyles' => array( 'monobook' => array( diff --git a/modules/styles/mw.echo.ui.NotificationsWrapper.less b/modules/styles/mw.echo.ui.NotificationsWrapper.less new file mode 100644 index 000000000..0cea05c70 --- /dev/null +++ b/modules/styles/mw.echo.ui.NotificationsWrapper.less @@ -0,0 +1,3 @@ +.mw-echo-notificationsWrapper { + overflow-y: auto; +} diff --git a/modules/ui/mw.echo.ui.NotificationsWrapper.js b/modules/ui/mw.echo.ui.NotificationsWrapper.js index 00d98c5ac..cc54515ba 100644 --- a/modules/ui/mw.echo.ui.NotificationsWrapper.js +++ b/modules/ui/mw.echo.ui.NotificationsWrapper.js @@ -37,6 +37,7 @@ // Initialize this.$element + .addClass( 'mw-echo-notificationsWrapper' ) .append( this.notificationsWidget.$element ); };