fixed recipe image preview scaling in large search

This commit is contained in:
vabene1111
2020-07-01 18:56:00 +02:00
parent 98bdad5955
commit 2c5fbc558e
2 changed files with 5 additions and 5 deletions

View File

@@ -21,8 +21,8 @@
{% else %}
<img src="{% static 'recipe_no_image.svg' %}"
alt="{% trans 'Recipe Image' %}"
class="card-img d-none d-lg-block"
style="object-fit: inherit; height: 130px">
class="card-img d-none d-md-block"
style="object-fit: cover; height: 130px">
{% endif %}
</a>