mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +00:00
[fix] image size fix in print format
This commit is contained in:
@@ -3,8 +3,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="width: 20%; margin-right: 10px;">
|
<div class="pull-left" style="width: 20%; margin-right: 10px;">
|
||||||
<div class="square-image" style="background-image: url('{{ doc.image }}')">
|
<img class="print-item-image" src="{{ doc.image }}" alt="">
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user