[fix] Mozilla hack for images in table for print

This commit is contained in:
Anand Doshi 2015-07-15 12:37:45 +05:30
parent 9490c21b8a
commit f3a67c4533

View File

@ -1,7 +1,6 @@
{% 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;">
<!-- width: 100% is a mozilla bug --> <img src="{{ doc.image }}" class="img-responsive">
<img src="{{ doc.image }}" class="img-responsive" style="width: 100%;">
</div> </div>
{%- endif %} {%- endif %}
<div> <div>