Browse Source

background contain

ouidade 3 years ago
parent
commit
89800d3e5d

+ 3 - 1
web/themes/custom/eql/css-compiled/styles.css

@@ -403,7 +403,9 @@ a {
 .node-id-20 {
   background: url("../images/pictos/carre-contour-bleu_partenaire.svg");
   background-repeat: no-repeat;
-  background-position-y: 7rem; }
+  background-position-y: 7rem;
+  max-width: 100vw;
+  background-size: contain; }
   .node-id-20 .layout__region--top {
     padding-bottom: 3rem; }
     .node-id-20 .layout__region--top .block-region-top .block-entity-fieldnodetitle .field--name-title {

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

@@ -3,7 +3,8 @@
     background: url('../images/pictos/carre-contour-bleu_partenaire.svg');
     background-repeat: no-repeat;
     background-position-y: 7rem;
-
+    max-width: 100vw;
+    background-size: contain;
 
     .layout__region--top{               //bandeau titre page static
         padding-bottom: 3rem;