From 18888bc3ae3c7d50cb8c4bee48495d68bd52f2ed Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Sat, 2 May 2020 22:10:02 +0200 Subject: [PATCH] search image heigth fixes --- cookbook/templates/recipes_table.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cookbook/templates/recipes_table.html b/cookbook/templates/recipes_table.html index f3b3658f..dabd7e65 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 %}