Why does my navbar go over right edge at 100%?

Can someone help me wrap my head around why my navbar is perfect on left side but goes over on right side when set at 100%? Not sure if I’m using flex or border-box in the wrong context also.

Add justify-content: center; to the header selector.

1 Like

You added an extra paddling to the navbar-right after having given #nav-bar a padding of 10

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.