Parcourir la source

img cover home zoom

ouidade il y a 1 an
Parent
commit
7e481523be

+ 1 - 1
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;

+ 1 - 1
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;