mirror of
https://github.com/pinry/pinry.git
synced 2025-11-14 17:05:50 +01:00
Fix issue with lightbox background not expanding properly and bottom footer being off in lightbox
This commit is contained in:
@@ -47,8 +47,11 @@ $(window).load(function() {
|
|||||||
$('.lightbox-wrapper').css({
|
$('.lightbox-wrapper').css({
|
||||||
'width': context.image.standard.width,
|
'width': context.image.standard.width,
|
||||||
'margin-top': 70,
|
'margin-top': 70,
|
||||||
|
'margin-bottom': 70,
|
||||||
'margin-left': -context.image.standard.width/2
|
'margin-left': -context.image.standard.width/2
|
||||||
});
|
});
|
||||||
|
if ($('.lightbox-wrapper').height()+140 > $(window).height())
|
||||||
|
$('.lightbox-background').height($('.lightbox-wrapper').height()+140);
|
||||||
|
|
||||||
box.click(function() {
|
box.click(function() {
|
||||||
$(this).fadeOut(200);
|
$(this).fadeOut(200);
|
||||||
|
|||||||
Reference in New Issue
Block a user