hope I get get some help, kinda new to bootstrap!
I have a navbar within a normal container:
<div class="container fixed-top p-0"> <nav class="navbar bg-secondary"> Navigation Bar </nav> </div>
And the page is quite long, so that the browser's vertical scroll bar is displayed. When activating a modal, the scroll bar is hidden, causing the navigation bar to slightly shift.
What am I doing wrong?
sample: https://jsfiddle.net/1owybuvq/
2.1m questions
2.1m answers
60 comments
57.0k users