Ver código fonte

width img /ressources

ouidade 1 semana atrás
pai
commit
db4e38cf0d

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

@@ -3043,7 +3043,7 @@ html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div
 }
 .page-ressources .view-ressources .views-row .node-type-ressource .image-ressource {
   order: 1;
-  width: auto;
+  width: 100%;
   margin: auto;
   margin-left: auto;
   height: 15rem;

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

@@ -92,11 +92,12 @@
                 padding-top: 0;
                 .image-ressource{
                     order: 1;
-                    width: auto;
+                    width: 100%;
                     margin: auto;
                     margin-left: auto;
                     height: 15rem;
                     margin-left: 0;
+
                     .field--name-field-image{
                         height: 100%;
                         .field__items{