You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the option 'scalePhotos' you set the image in the center. That works just fine on first load of the colorbox.
The issue is on resize method. While changing the size of the window or (in my case) changing the orientation of a mobile device the resize method never changes the calculated margin-top attribute while using the "old" calculated one. I have to do this on my own after resizing.
Is it possible to add the new calculated margin-top on resize method?
The text was updated successfully, but these errors were encountered:
With the option 'scalePhotos' you set the image in the center. That works just fine on first load of the colorbox.
The issue is on resize method. While changing the size of the window or (in my case) changing the orientation of a mobile device the resize method never changes the calculated margin-top attribute while using the "old" calculated one. I have to do this on my own after resizing.
Is it possible to add the new calculated margin-top on resize method?
The text was updated successfully, but these errors were encountered: