diff --git a/modules/ve-mw/ui/styles/widgets/ve.ui.MWEducationPopupWidget.css b/modules/ve-mw/ui/styles/widgets/ve.ui.MWEducationPopupWidget.css index 753760f184..6b3243c0d1 100644 --- a/modules/ve-mw/ui/styles/widgets/ve.ui.MWEducationPopupWidget.css +++ b/modules/ve-mw/ui/styles/widgets/ve.ui.MWEducationPopupWidget.css @@ -27,10 +27,6 @@ margin-top: 0.5em; } -.ve-ui-educationPopup-header { - margin-bottom: 1em; -} - .ve-ui-educationPopup .oo-ui-popupWidget { /* Appear above local dialogs, e.g. toolbar dialog */ z-index: 3; diff --git a/modules/ve-mw/ui/widgets/ve.ui.MWEducationPopupWidget.js b/modules/ve-mw/ui/widgets/ve.ui.MWEducationPopupWidget.js index 548e11e201..77e2b5128a 100644 --- a/modules/ve-mw/ui/widgets/ve.ui.MWEducationPopupWidget.js +++ b/modules/ve-mw/ui/widgets/ve.ui.MWEducationPopupWidget.js @@ -61,7 +61,9 @@ ve.ui.MWEducationPopupWidget = function VeUiMwEducationPopup( $target, config ) ve.targetLinksToNewWindow( $popupContent[ 0 ] ); if ( config.popupImage ) { $popupContent.prepend( - // eslint-disable-next-line mediawiki/class-doc + // The following classes can be generated here: + // * ve-ui-educationPopup-image-link + // * others generated by extensions $( '
' ).addClass( 've-ui-educationPopup-image ve-ui-educationPopup-image-' + config.popupImage ) ); }