diff --git a/web/themes/custom/eql/css-compiled/styles.css b/web/themes/custom/eql/css-compiled/styles.css index dd2bae9..0e07aec 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/web/themes/custom/eql/css-compiled/styles.css @@ -672,6 +672,9 @@ a { display: flex; flex-direction: column; max-height: 400px; } + @media (max-width: 479px) { + .path-frontpage .block-views-blockprojets-block-4 .view-projets .view-content .views-row .node-type-projet div:first-child { + max-height: 0px; } } .path-frontpage .block-views-blockprojets-block-4 .view-projets .view-content .views-row .node-type-projet div:first-child a { color: #09398b; } .path-frontpage .block-views-blockprojets-block-4 .view-projets .view-content .views-row .node-type-projet div:first-child .field--name-field-photo { diff --git a/web/themes/custom/eql/scripts/main.js b/web/themes/custom/eql/scripts/main.js index 1e2bf79..2a9e446 100644 --- a/web/themes/custom/eql/scripts/main.js +++ b/web/themes/custom/eql/scripts/main.js @@ -173,9 +173,10 @@ jQuery(function($) { // centerPadding: '100px', responsive: [ { - breakpoint: 800, + breakpoint: 810, settings: { adaptiveHeight: true, + arrows: false, draggable: true, } }] diff --git a/web/themes/custom/eql/scss/pages/_home.scss b/web/themes/custom/eql/scss/pages/_home.scss index 39b0c04..02c698c 100644 --- a/web/themes/custom/eql/scss/pages/_home.scss +++ b/web/themes/custom/eql/scss/pages/_home.scss @@ -401,7 +401,9 @@ display: flex; flex-direction: column; max-height: 400px; - + @media (max-width: 479px){ + max-height: 0px; + } a{ color: $blue-dark;