From 87e5d229c524799b6758fa5ea91323eb0ec3f23c Mon Sep 17 00:00:00 2001 From: Charlie Mathey Date: Wed, 18 Dec 2024 10:57:46 +0100 Subject: [PATCH] =?UTF-8?q?Force=20la=20taille=20des=20images=20dans=20les?= =?UTF-8?q?=20vignettes=20pour=20avoir=20un=20rendu=20homog=C3=A8ne?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/velos_a_vendre/index.html | 2 +- modules/velos_a_vendre/style.css | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/modules/velos_a_vendre/index.html b/modules/velos_a_vendre/index.html index fef40b5..0e289f5 100644 --- a/modules/velos_a_vendre/index.html +++ b/modules/velos_a_vendre/index.html @@ -101,4 +101,4 @@ set_toggle('check-taille-16',"[roues='16']") set_toggle('check-taille-autre','[roues="Au"]') - + \ No newline at end of file diff --git a/modules/velos_a_vendre/style.css b/modules/velos_a_vendre/style.css index faec82c..9fc8f97 100644 --- a/modules/velos_a_vendre/style.css +++ b/modules/velos_a_vendre/style.css @@ -47,10 +47,9 @@ .image { display: block; - max-width:100%; - max-height:150px; - width: auto; - height: auto; + object-fit: cover; + width: 100%; + height: 100px; } .label { @@ -80,4 +79,4 @@ li.date-entree { right: 10px; font-size: x-small; color: gray; -} \ No newline at end of file +}