From 89800d3e5d05442ad6ac1215c45f154fc217200e Mon Sep 17 00:00:00 2001 From: ouidade Date: Sun, 28 Nov 2021 22:23:59 +0100 Subject: [PATCH] background contain --- web/themes/custom/eql/css-compiled/styles.css | 4 +++- web/themes/custom/eql/scss/pages/_partenaires.scss | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/web/themes/custom/eql/css-compiled/styles.css b/web/themes/custom/eql/css-compiled/styles.css index 83cae73..909ed9b 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/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 { diff --git a/web/themes/custom/eql/scss/pages/_partenaires.scss b/web/themes/custom/eql/scss/pages/_partenaires.scss index b045c94..9793b0a 100644 --- a/web/themes/custom/eql/scss/pages/_partenaires.scss +++ b/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;