Responsive lightbox size issues on mobile

So I have two image galleries that work fine on the desktop version but when it is clicked on in mobile, it is super skinny and does not fill the entire screen. I need it to be responsive and fill the entire width of a screen. Also the caption does not center on the image.