Added max width to attorney image

This commit is contained in:
Zak Timson 2017-08-17 14:47:29 -04:00
parent 9f61447326
commit ab2a40c640

View File

@ -6,7 +6,7 @@
<div class="col-lg-3 ml-auto"> <div class="col-lg-3 ml-auto">
<h2 class="d-lg-none text-white mt-3">{{ attorney.name }}</h2> <h2 class="d-lg-none text-white mt-3">{{ attorney.name }}</h2>
<div class="p-2 my-3 shadow bg-white"> <div class="p-2 my-3 shadow bg-white">
<img class="d-block mx-auto" src="/media/{{ attorney.image }}"/> <img class="d-block mx-auto" src="/media/{{ attorney.image }}" style="max-width: 100%"/>
</div> </div>
{% if attorney.phone %}<p class="text-white"><i class="fa fa-phone"> {{ attorney.phone_formatted }}</i></p>{% endif %} {% if attorney.phone %}<p class="text-white"><i class="fa fa-phone"> {{ attorney.phone_formatted }}</i></p>{% endif %}
{% if attorney.email %}<p class="text-white"><i class="fa fa-envelope"> {{ attorney.email }}</i></p>{% endif %} {% if attorney.email %}<p class="text-white"><i class="fa fa-envelope"> {{ attorney.email }}</i></p>{% endif %}