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:
Prateek Saxena 2015-04-29 10:59:40 +05:30 committed by Jdlrobson
parent ab15bf8b3e
commit 21b856f7f7
2 changed files with 2 additions and 6 deletions

View file

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

View file

@ -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()