Add fluid container to fix horizontal padding
<div class="mb-1">
<nav class="navbar navbar-expand-md navbar-light bg-light">
+ <div class="container-fluid">
<button class="navbar-toggler navbar-toggler-right" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
{% endif %}
</ul>
</div>
+ </div>
</nav>
</div>
