Merge pull request #3567 from rmehta/item-description-mozilla-fix

[fix] item image in mozilla #3412 #3413
This commit is contained in:
Nabin Hait
2015-07-06 14:27:34 +05:30

View File

@@ -1,6 +1,7 @@
{% if doc.in_format_data("image") and doc.get("image") and not doc.is_print_hide("image")-%} {% if doc.in_format_data("image") and doc.get("image") and not doc.is_print_hide("image")-%}
<div class="pull-left" style="max-width: 38.2%; margin-right: 10px;"> <div class="pull-left" style="max-width: 38.2%; margin-right: 10px;">
<img src="{{ doc.image }}" style="max-width: 100%"> <!-- width: 100% is a mozilla bug -->
<img src="{{ doc.image }}" class="img-responsive" style="width: 100%;">
</div> </div>
{%- endif %} {%- endif %}
<div> <div>