From a11ac2547ec8629ecddea2b8c5c4f3fe8837840e Mon Sep 17 00:00:00 2001 From: Luke Else Date: Tue, 30 Jan 2024 19:35:18 +0000 Subject: [PATCH] Updated CSS to ensure images maintain aspect ratio --- static/css/products.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/css/products.css b/static/css/products.css index f867c01..cc5314b 100644 --- a/static/css/products.css +++ b/static/css/products.css @@ -73,12 +73,12 @@ } .product-image-preview { - max-height: 150px; + height: min-content; max-width: 150px; } .product-image { - max-height: 500px; + height: min-content; max-width: 500px; }