Forcing Scrollbar to Enable is the Best way to have scroll bar even though theres not content to scroll with.
I created this because I made a sidebar that dont have any scrollbars come up with. And theres a simple CSS Code that you need go up with.
Find any Content that you want to have a scrollbar and make
Divtag with class called
"force-scroll"Main Code (Example with choosed content)
Now you have added a Div tag with classes on it. Now add
bodyNOTE If you have a
<style>then skip it.
Lastly, Add this code in
If you want vertical scrollbar only then do this.
REMEMBER: YOU cannot theme a Force-Enabled Scrollbars by enabling it in CSS with just overflow. I Recommended Using Perfect-Scrollbars out there.
Source Code : cxlink.tk ( Just Inspect Element in SideBars)