diff --git a/cookbook/templates/recipes_table.html b/cookbook/templates/recipes_table.html index f3b3658f0..dabd7e656 100644 --- a/cookbook/templates/recipes_table.html +++ b/cookbook/templates/recipes_table.html @@ -11,17 +11,17 @@ {% block table %} {% for row in table.paginated_rows %} -
+
{% if row.cells.image|length > 1 %} {% trans 'Recipe Image' %} + class="card-img" style="object-fit: cover;height: 130px"> {% else %} {% trans 'Recipe Image' %} + style="object-fit: inherit; height: 130px"> {% endif %}