소스 검색

img cover home zoom

ouidade 7 달 전
부모
커밋
7e481523be
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      web/themes/custom/eql/css-compiled/styles.css
  2. 1 1
      web/themes/custom/eql/scss/pages/_home.scss

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