hello. i add this code for resizing the lightbox photos,
and the problem is that the Longitudinal images got zoomed in and didn't got smaller, there is a way to fix it?
https://www.diegorosman.com/projects/music-center
this is the code:
/* Resize lightbox images on mobile */
@media screen and (min-width:768px) {
.gallery-lightbox-item img {
width: 50% !important;
height: auto !important;
position: absolute !important;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
}
}