Commit 0ee9c266 authored by Patrick's avatar Patrick

Css change for small devices

parent dccc35c6
......@@ -57,7 +57,7 @@
<div id="collapse-offer-description" class="panel-collapse collapse">
<div class="panel-body">
<div class="col-xs-12">
{% if permanence.picture %}<img class="img-rounded" style="float: left; margin: 5px;" alt="{{ permanence.get_permanence_customer_display }}" title="{{ permanence.get_permanence_customer_display }}" src="{{ MEDIA_URL }}{{ permanence.picture }}"/>{% endif %}
{% if permanence.picture %}<img class="img-responsive img-rounded" style="float: left; margin: 5px;" alt="{{ permanence.get_permanence_customer_display }}" title="{{ permanence.get_permanence_customer_display }}" src="{{ MEDIA_URL }}{{ permanence.picture }}"/><div class="clearfix visible-xs-block visible-sm-block"></div>{% endif %}
{{ permanence.offer_description | safe }}
</div>
</div>
......
......@@ -36,7 +36,7 @@ def home_info_ajax(request):
if permanence.picture:
permanences.append(
format_html(
'<div class="panel-body"><div class="col-xs-12"><img class="img-responsive img-rounded " style="float: left; margin: 5px;" alt="{}" title="{}" src="{}{}"/><div class="clearfix visible-xs-block visible-sm-block"></div>{}</div></div>',
'<div class="panel-body"><div class="col-xs-12"><img class="img-responsive img-rounded" style="float: left; margin: 5px;" alt="{}" title="{}" src="{}{}"/><div class="clearfix visible-xs-block visible-sm-block"></div>{}</div></div>',
permanence.get_permanence_customer_display(),
permanence.get_permanence_customer_display(),
settings.MEDIA_URL,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment