Selaa lähdekoodia

width img /actualites

ouidade 1 viikko sitten
vanhempi
commit
22a5f8038f

+ 2 - 1
web/themes/custom/reha/dist/css/bundle.css

@@ -3237,7 +3237,8 @@ html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div
 }
 .page-actualites .view-actus .views-row .node-type-actualite .entete_actu .image-actualite img {
   width: 100%;
-  height: auto;
+  height: 15rem;
+  object-fit: cover;
 }
 .page-actualites .view-actus .views-row .node-type-actualite .entete_actu .infos-content {
   height: fit-content;

+ 2 - 1
web/themes/custom/reha/scss/pages/_actualites.scss

@@ -29,7 +29,8 @@
                         margin: auto;
                         img{
                             width: 100%;
-                            height: auto;
+                            height: 15rem;
+                            object-fit: cover;
                         }
                     }
                     .infos-content{