mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
Merge "Remove unused ve-ui-educationPopup-header CSS"
This commit is contained in:
commit
d9eebe04ef
|
@ -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;
|
||||
|
|
|
@ -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 )
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue