From de2f8d68ab6ccf2d45eca2873590a9f8ad491e1f Mon Sep 17 00:00:00 2001 From: Bryan Stopp Date: Mon, 4 Dec 2023 11:54:43 -0600 Subject: [PATCH] Fix image hegiht on small screens. --- cigaradvisor/blocks/imagecta/imagecta.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cigaradvisor/blocks/imagecta/imagecta.css b/cigaradvisor/blocks/imagecta/imagecta.css index ca627735..f22e77e1 100644 --- a/cigaradvisor/blocks/imagecta/imagecta.css +++ b/cigaradvisor/blocks/imagecta/imagecta.css @@ -16,6 +16,7 @@ bottom: 0; left: 0; width: 100%; - object-fit: contain; + height: 100%; + object-fit: cover; object-position: center; }