Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scalePhotos on resize method #866

Open
kchrismc opened this issue Aug 28, 2018 · 0 comments
Open

scalePhotos on resize method #866

kchrismc opened this issue Aug 28, 2018 · 0 comments

Comments

@kchrismc
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant