I've a fixed side bar on the right side of the page (position: fixed
)
But it's contents are not fully visible as it's not scrolling with the page scroll. I could have added overflow-y: scroll
in the .sidebar{}
css settings. But don't want a separate scroll bar for sidebar. Is there an option to make it scroll with the full page scroll.
Here is my css settings for sidebar :
.sidebar {
text-align: center;
padding: 2rem,1rem;
color: rgba(255,255,255,.5);
background-color: #202020;
top: 0;
bottom: 0;
}
If you want to debug to see what went wrong, here is it running live : https://pagefault.me
Thanks