Ver Fonte

padding ressources

ouidade há 2 semanas atrás
pai
commit
2780ec6421

+ 5 - 0
web/themes/custom/reha/dist/css/bundle.css

@@ -3058,6 +3058,7 @@ html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div
   height: 100%;
   object-fit: cover;
   max-width: 100%;
+  width: 100% !important;
 }
 .page-ressources .view-ressources .views-row .node-type-ressource .body-content {
   display: none;
@@ -3139,6 +3140,10 @@ html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div
   grid-column: 2;
   margin-right: 2rem;
 }
+.node-type-ressource .image-ressource img {
+  height: 400px;
+  width: auto;
+}
 .node-type-ressource .infos-content {
   grid-row: 1;
   grid-column: 3/span 4;

+ 2 - 2
web/themes/custom/reha/scss/pages/_node-ressource.scss

@@ -16,8 +16,8 @@
             margin-right: 2rem;
 
             img{
-                // height: 400px;
-                // width: auto;
+                height: 400px;
+                width: auto;
             }
         }
         .infos-content{

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

@@ -106,6 +106,7 @@
                                     height: 100%;
                                     object-fit: cover;
                                     max-width: 100%;
+                                    width: 100% !important;
                                 }
                             }
                         }