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

make .mCSB_dragger full height if there is no enough content #366

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

Conversation

muktupavels
Copy link
Contributor

Update .mCSB_dragger height calculation:

  • make sure that height is never set bigger then .mCSB_draggerContainer;
  • make dragger full height when there is no enough content.

This fixes #364.

If content height is less then container height then calculated
ratio will be >1 making .mCSB_dragger height bigger then
.mCSB_draggerContainer. Fix this by making sure that ratio is
never bigger then 1.0.
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.

Incorrect dragger height
1 participant