Closed sidrafarooq closed 6 years ago
This piece of junk just doens't work at all. All thing it do is adds extra padding to ss-container and that's all.
Finally, I fixed it. So if you're a such a good boy and use this "simple" scroll to your body element, the prefer way to make it work is to change css:
.ss-wrapper {
overflow: hidden;
width: 100%;
height: 100%;
position: relative;
z-index: 1;
float: left;
}
.ss-content {
height: 100%;
width: calc(100% + 18px);
position: relative;
right: 0;
overflow: auto;
box-sizing: border-box;
}
Also, you have to make your body is height: 100vh;
Be mindful of your language toward the creator, and use constructive criticism. If you don't like it so much please use something else. :)
So in your own world, providing fix isn't constructive enough?
original scroll is also shown with simple-scroll bar how to remove it