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

Add settings options for vertical scrolling and horizontal scrolling #786

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

marcusshepp
Copy link

Ran into a problem where I needed my colorbox to give me horizontal scrolling but not vertical scrolling. I noticed that the only available setting was scrolling:true. This gives the colorbox overflow:auto, which does not solve my problem.

So, I decided to add two optional settings. One for horizontal scrolling and one for vertical scrolling. If either is set to false, the respective axis does not allow for scrolling.

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

Successfully merging this pull request may close these issues.

None yet

1 participant