Below is a reproduction of the issue which I am struggling with.
Demo: https://jsfiddle.net/5n4Lhgbt/
As you can see the section
div is a little higher than the 100vh (the height of the navbar has been added & the scrollbar occurs). I want to avoid it. The situation which I am talking about is clearly shown in the image below:
A few pieces of information:
overflow: hidden
on the section container doesn't satisfy me,I appreciate any help.
You just need to add to your #section
:
flex: 1;
overflow: auto;
and that would make the trick: JSFIDDLE