mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 15:36:58 +00:00
Add style to the NotificationsWrapper
We have to make sure that any notifications wrapper has the css term overflow-y: auto; so that the popup menus behave properly. Change-Id: I14a1a9f1c3610ef27fe04aa4b1e7197c08d1dfd4
This commit is contained in:
parent
cb6e6e96cd
commit
299adfe6b1
|
@ -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(
|
||||
|
|
3
modules/styles/mw.echo.ui.NotificationsWrapper.less
Normal file
3
modules/styles/mw.echo.ui.NotificationsWrapper.less
Normal file
|
@ -0,0 +1,3 @@
|
|||
.mw-echo-notificationsWrapper {
|
||||
overflow-y: auto;
|
||||
}
|
|
@ -37,6 +37,7 @@
|
|||
|
||||
// Initialize
|
||||
this.$element
|
||||
.addClass( 'mw-echo-notificationsWrapper' )
|
||||
.append( this.notificationsWidget.$element );
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue