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

No way to move the scrollbar to the right / off of the scrollable content #38

Open
Xerotherm1c opened this issue Nov 24, 2018 · 0 comments

Comments

@Xerotherm1c
Copy link

.slimScrollBar is on top of the content which can interfere with the user's ability to read and digest the content. The scrollbar should at least have an option to appear outside (right next to) the scrollable content, preferably configurable to the pixel similar to the height option that slimScroll() accepts.

Overwriting the right css property of .slimScrollBar with for example -10px !important does in fact move the scrollbar to the right of the content, but because .slimScrollBar is position: absolute; and its parent div is overflow: hidden, the scrollbar will simply not be visible, thus defeating the purpose of beautiful scrollbars. The only (hacky) "fix" I've found is to apply margin-right to the div element, but this disrupts the layout's width (hence: hacky).

Thanks for your time!

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