Confirmed First clicked image smaller

au lait

Well-known member
Licensed customer
Affected version
2.3.9

Attachments

Last edited:
This is broken since XenForo 2.3.8 and its changes to the "lightbox.less" template. Removing the two lines "width: 960px;" and "height: 540px;" seems to fix this issue (but I'm not yet sure whether that could cause other bugs).
 
This should work in lightbox.less

Change
Code:
.fancybox__slide.has-image .fancybox__content
{
	-ltr-rtl-left: 0;
}

to
Code:
.fancybox__slide.has-image .fancybox__content
{
	-ltr-rtl-left: 0;
	width: auto;
	height: auto;
}
 
Last edited:
This should work in lightbox.less

Change
Code:
.fancybox__slide.has-image .fancybox__content
{
    -ltr-rtl-left: 0;
}

to
Code:
.fancybox__slide.has-image .fancybox__content
{
    -ltr-rtl-left: 0;
    width: auto;
    height: auto;
}

This does indeed work to resolve this bug - which is present in 2.3.10 across multiple browsers - and I haven't found any other side effects of it. Hopefully this will get resolved in a future version so the customization isn't necessary.
 
Last edited:
Back
Top Bottom