diff --git a/web/themes/custom/quartiers_de_demain/dist/assets/css/bundle.css b/web/themes/custom/quartiers_de_demain/dist/assets/css/bundle.css index 31193fc..5d794db 100644 --- a/web/themes/custom/quartiers_de_demain/dist/assets/css/bundle.css +++ b/web/themes/custom/quartiers_de_demain/dist/assets/css/bundle.css @@ -4051,7 +4051,7 @@ main { } #actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama .slick-list .cadre-img-zoom img { width: 100%; - height: 100%; + height: auto; object-fit: cover; -moz-border-radius: 9px; /* pour Mozilla */ -khtml-border-radius: 9px; /* pour Safari et Chrome */ diff --git a/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/actualites.scss b/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/actualites.scss index cc833d7..d7086e8 100644 --- a/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/actualites.scss +++ b/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/actualites.scss @@ -83,7 +83,7 @@ img{ width: 100%; - height: 100%; + height: auto; object-fit: cover; -moz-border-radius: 9px; /* pour Mozilla */ -khtml-border-radius: 9px; /* pour Safari et Chrome */