Merge "Remove unused ve-ui-educationPopup-header CSS"

This commit is contained in:
jenkins-bot 2024-03-18 20:31:46 +00:00 committed by Gerrit Code Review
commit d9eebe04ef
2 changed files with 3 additions and 5 deletions

View file

@ -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;

View file

@ -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
$( '<div>' ).addClass( 've-ui-educationPopup-image ve-ui-educationPopup-image-' + config.popupImage )
);
}