From 7e481523be2590c28e2cf03aeff87dbc0a446d16 Mon Sep 17 00:00:00 2001 From: ouidade Date: Wed, 4 Oct 2023 17:35:58 +0200 Subject: [PATCH] img cover home zoom --- web/themes/custom/eql/css-compiled/styles.css | 2 +- web/themes/custom/eql/scss/pages/_home.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/themes/custom/eql/css-compiled/styles.css b/web/themes/custom/eql/css-compiled/styles.css index f3e60d4..8704a96 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/web/themes/custom/eql/css-compiled/styles.css @@ -697,7 +697,7 @@ a { width: 100%; height: auto; max-height: 400px; - object-fit: contain; } + object-fit: cover; } .path-frontpage .block-views-blockprojets-block-4 .view-projets .view-content .views-row .node-type-projet div:first-child .field--name-field-adresse { order: 2; display: flex; diff --git a/web/themes/custom/eql/scss/pages/_home.scss b/web/themes/custom/eql/scss/pages/_home.scss index 8a9a3f7..1a34d9b 100644 --- a/web/themes/custom/eql/scss/pages/_home.scss +++ b/web/themes/custom/eql/scss/pages/_home.scss @@ -418,7 +418,7 @@ // height: fit-content; height: auto; max-height: 400px; - object-fit: contain; + object-fit: cover; } // &::after{ // display: block;