mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
Remove unused ve-ui-educationPopup-header CSS
We just use a standard <h3> in the popup. Also document generated classes. Change-Id: I8c61a240fe8c7222c70cad19ea9300b2105484ea
This commit is contained in:
parent
2881347216
commit
f7eef9ce12
|
@ -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