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

Scrollbar fixed height? #44

Closed
kimneu opened this issue Dec 10, 2016 · 1 comment
Closed

Scrollbar fixed height? #44

kimneu opened this issue Dec 10, 2016 · 1 comment

Comments

@kimneu
Copy link

kimneu commented Dec 10, 2016

Do you have an idea how I could make the scrollbar fixed height? By default it's changing it's height according to viewport height, right? I'd like to disable that and write my custom height. But the scrollbar-track height should still adapt by viewport size. Using V1, can't get V2 beta to work..

@Grsmto
Copy link
Owner

Grsmto commented Dec 18, 2016

Yes the plugin is intended to size the scrollbar just like it is usually on a normal scrollbar.
The only way I see you could give the scrollbar a fixed height is by defining its size in css followed by the !important suffix (to override the JS logic). But it will probably not work as you expect it.
I don't see any proper solution for that without altering the code of the plugin...

@Grsmto Grsmto closed this as completed Dec 18, 2016
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

2 participants