From 10a74a28f989d718bf00da9a7fe3eda84eae6211 Mon Sep 17 00:00:00 2001 From: Frederic Date: Sat, 7 Dec 2013 19:22:13 +0100 Subject: [PATCH] product thumbnail height should now mostly be of equal height --- cash/static/style.css | 5 +++++ cash/templates/cash/includes/product_list.html | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cash/static/style.css b/cash/static/style.css index 92efee8..7c96f41 100644 --- a/cash/static/style.css +++ b/cash/static/style.css @@ -9,3 +9,8 @@ body { padding-right: 1em; } +img.product-thumbnail { + height: 20ex; + max-width: 100%; +} + diff --git a/cash/templates/cash/includes/product_list.html b/cash/templates/cash/includes/product_list.html index 0216d4d..d58cf5d 100644 --- a/cash/templates/cash/includes/product_list.html +++ b/cash/templates/cash/includes/product_list.html @@ -5,7 +5,7 @@ {% for p in products %}
- {% trans + {% trans

{{ p.name }}

{{ p.price|floatformat:2 }} €