Quellcode durchsuchen

responsive actu et projet

ouidade vor 2 Jahren
Ursprung
Commit
66bb0c590e

+ 2 - 2
web/themes/custom/eql/css-compiled/styles.css

@@ -798,7 +798,7 @@ a {
           .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top .block-region-top .block-entity-fieldnodefield-images img {
             padding-top: 2rem;
             width: 100%;
-            object-fit: contain; } }
+            object-fit: cover; } }
       .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top .block-region-top .block-entity-fieldnodefield-images blockquote {
         margin-left: 0em;
         font-size: 0.8rem; }
@@ -3208,7 +3208,7 @@ a {
       @media (max-width: 810px) {
         .path-node.page-node-type-projet .layout-content .region-content #block-contenudelapageprincipale .layout--threecol-25-50-25 .layout__region--top .block-region-top .block-entity-fieldnodefield-photo img {
           padding-top: 1rem;
-          object-fit: contain;
+          object-fit: cover;
           width: 100%; } }
 
 .path-node.page-node-type-projet .layout-content .region-content #block-contenudelapageprincipale .layout--threecol-25-50-25 .layout__region--first {

+ 2 - 1
web/themes/custom/eql/scss/pages/_actualite.scss

@@ -110,6 +110,7 @@
                         // height: auto;
                         max-height: 360px;
                         object-fit: cover;
+                        
                     }
                     
                     // position: relative;
@@ -119,7 +120,7 @@
                         img{
                             padding-top: 2rem;
                             width: 100%;
-                            object-fit: contain;
+                            object-fit: cover;
                         }
                     }
                     blockquote{

+ 1 - 1
web/themes/custom/eql/scss/pages/_projet.scss

@@ -112,7 +112,7 @@
                                     object-fit: cover;
                                     @media (max-width: 810px) {
                                         padding-top: 1rem;
-                                        object-fit: contain;
+                                        object-fit: cover;
                                         width: 100%;                                 
                                     }
                                 }