Closed BabyDead closed 5 years ago
Just force the scrollbar with CSS: overflow-y:scroll
But I do not want the scrollbar when it's not nessecary
Wouldnt that be the simplest way to fix that problem? The scrollbar is invisible, and it cannot be used - since there is no scrollable area.
Just to be clear: add overflow-y: scroll
to .ss-content
?
Adding overflow-y: scroll;
to .ss-content
in the css fixes this problem.
I just created pull request #49 which does exactly that.
Please keep in mind that you will also need to merge #37, else the width will still be off by some px in some browsers.
So, I've noticed that when there's not enough content in a block to actually make it scrollable, the content is stretching on the width + 18px of the ss-content element.
It seems to work perfectly when there IS indeed a scrollbar, however.
I have no idea why it's caused as I can't really find any differences... But I hope this helps.