Fixed navbar padding

This commit is contained in:
Zak Timson 2017-09-05 20:13:03 -04:00
parent 7a67523433
commit ee6273670d

View File

@ -26,6 +26,7 @@
{% csrf_token %} {% csrf_token %}
<!-- Navbar --> <!-- Navbar -->
<nav class="navbar navbar-expand-lg navbar-light bg-white py-4"> <nav class="navbar navbar-expand-lg navbar-light bg-white py-4">
<div class="container">
<a class="navbar-brand text-dark-primary" href="{% url 'home' %}"> <a class="navbar-brand text-dark-primary" href="{% url 'home' %}">
<img src="{% static 'main/img/logo.png' %}" width="30" height="30" class="d-inline-block align-top" alt=""> <img src="{% static 'main/img/logo.png' %}" width="30" height="30" class="d-inline-block align-top" alt="">
<div class="d-none d-sm-inline-block"> <div class="d-none d-sm-inline-block">
@ -68,10 +69,11 @@
{% endif %} {% endif %}
</ul> </ul>
</div> </div>
<button class="navbar-toggler ml-auto" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" <button class="navbar-toggler ml-auto" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span> <span class="navbar-toggler-icon"></span>
</button> </button>
</div>
</nav> </nav>
{% block body %} {% block body %}