mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-24 07:34:11 +00:00
Use correct selector for div's that hold PNGs when SVGs aren't supported
* The classes in ext.popups.core.less apply to the thumbnail which reside in .mwe-popups > div > a.popups-discreet The thumbnail is thus not a direct child of the div parent of popups-discreet. * The margin-top is unnecessary. Change-Id: If91140a55baa1aef36483002de681503c2690cf6
This commit is contained in:
parent
ab15bf8b3e
commit
21b856f7f7
|
@ -87,7 +87,7 @@
|
|||
padding-bottom: 48px;
|
||||
}
|
||||
|
||||
> div.mwe-popups-is-tall {
|
||||
div.mwe-popups-is-tall {
|
||||
margin: 0;
|
||||
height: 250px;
|
||||
width: 200px;
|
||||
|
@ -99,7 +99,7 @@
|
|||
float: right;
|
||||
}
|
||||
|
||||
> div.mwe-popups-is-not-tall {
|
||||
div.mwe-popups-is-not-tall {
|
||||
margin: 0;
|
||||
height: 200px;
|
||||
width: 300px;
|
||||
|
|
|
@ -583,10 +583,6 @@
|
|||
);
|
||||
}
|
||||
|
||||
if ( !svg && flippedY && !tall ) {
|
||||
$( '.mwe-popups-extract' ).css( 'margin-top', '206px' );
|
||||
}
|
||||
|
||||
if ( flippedY ) {
|
||||
popup.css( {
|
||||
top: popup.offset().top - popup.outerHeight()
|
||||
|
|
Loading…
Reference in a new issue