Merge pull request #6647 from netchampfaris/hotfix

[hotfix] print format image size
This commit is contained in:
Nabin Hait 2016-10-19 13:05:04 +05:30 committed by GitHub
commit 184f6d42cc

View File

@ -2,7 +2,7 @@
{%- set compact_fields = doc.flags.compact_item_fields -%}
{% if doc.in_format_data("image") and doc.get("image") and not doc.is_print_hide("image")-%}
<div class="pull-left" style="width: 20%; margin-right: 10px;">
<div class="pull-left" style="max-width: 40%; margin-right: 10px;">
<img class="print-item-image" src="{{ doc.image }}" alt="">
</div>
{%- endif %}