diff --git a/templates/receipt.html.tera b/templates/receipt.html.tera index c20449e..e48bb8b 100644 --- a/templates/receipt.html.tera +++ b/templates/receipt.html.tera @@ -11,9 +11,18 @@ margin-right: 1em; } + .photo { + flex-grow: 1; + } + .photo img { max-width: 100%; } + + .photo iframe { + width: 100%; + aspect-ratio: 8.5 / 11; + } } {% endblock %} {% block main %} @@ -52,7 +61,11 @@
+{% if filename is ending_with(".pdf") %}
+
+{% else %}
+{% endif %}