Mannu Nayyar Mannu Nayyar - 9 months ago 76
CSS Question

Overflow auto not working

I am trying to create a user dashboard with top and side navbars. The problem faced by me is that

overflow: auto
is not working properly. I get scroll bar but it does not scroll till the end of the page.

My fiddle link - Link

In mobile devices there is no problem but I am facing this problem in full width devices (laptop).

Along with that, how can we center the font awesome icon and the links in the sidebar like this?

enter image description here

Thank you


Here you have a working jsfiddle You can add some padding in the bottom so your content will be all visible in the window.

Also i have updated the jsfiddle and added some more styling so the icons now are centered.