Explorar el Código

responsive ressource

ouidade hace 11 horas
padre
commit
624e211711

+ 4 - 0
web/themes/custom/eql/dist/assets/css/bundle.css

@@ -2195,6 +2195,7 @@ svg.ext {
 @media (max-width: 550px) {
   .page-node-type-ressource .layout__region--top {
     padding-top: 0rem;
+    max-width: 100%;
   }
 }
 .page-node-type-ressource .layout__region--top .block-region-top {
@@ -2236,6 +2237,8 @@ svg.ext {
 }
 .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-images img {
   border: solid 1px gray;
+  max-width: 100%;
+  width: 100%;
 }
 .page-node-type-ressource .layout__region--top .block-region-top .block-block-content4e5df355-e76c-4e44-bec0-e211d94f2640,
 .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-type-de-ressource,
@@ -2370,6 +2373,7 @@ svg.ext {
   .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-auteur-s- .field--name-field-auteur-s- {
     margin-top: 0rem;
     font-size: 1rem;
+    line-height: 1;
   }
 }
 @media (max-width: 550px) {

+ 4 - 0
web/themes/custom/eql/scss/pages/_ressource.scss

@@ -12,6 +12,7 @@
             padding-top: 4rem;
             @media (max-width: 550px) {
                 padding-top: 0rem;
+                max-width: 100%;
             }
             
             .block-region-top{
@@ -47,6 +48,8 @@
                     }
                     img{
                         border: solid 1px gray;
+                        max-width: 100%;
+                        width: 100%;
                     }
 
                   }
@@ -154,6 +157,7 @@
                         @media (max-width: 550px) {
                             margin-top: 0rem;
                             font-size: 1rem;
+                            line-height: 1;
                         }
                     }
                     @media (max-width: 550px) {