Added mobile friendly-ness

This commit is contained in:
Zak Timson 2017-09-05 19:40:00 -04:00
parent 0f91728ac2
commit 7a67523433
2 changed files with 9 additions and 4 deletions

View File

@ -17,6 +17,10 @@
font-style: normal; font-style: normal;
} }
body {
overflow-y: scroll;
}
hr { hr {
border-top: 1px solid #377DBD !important; border-top: 1px solid #377DBD !important;
} }

View File

@ -26,14 +26,16 @@
{% 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-inline-block"> <div class="d-none d-sm-inline-block">
ONTARIO ASSOCIATION OF ONTARIO ASSOCIATION OF
<br> <br>
CHILD PROTECTION LAWYERS CHILD PROTECTION LAWYERS
</div> </div>
<div class="d-inline-block d-sm-none">
OACPL
</div>
</a> </a>
<div class="collapse navbar-collapse" id="navbarSupportedContent"> <div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto"> <ul class="navbar-nav ml-auto">
@ -66,8 +68,7 @@
{% endif %} {% endif %}
</ul> </ul>
</div> </div>
</div> <button class="navbar-toggler ml-auto" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
<button class="navbar-toggler" 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>