This is the typical appearance When I scroll up, a space appears at the top of the navbar. The same issue occurs in the footer as well. I used background color in style.css for reference.
How can I resolve this problem? I need the components to stay fixed without creating extra space when scrolling.