ouidade 11 kuukautta sitten
vanhempi
commit
f42f80ff8d

+ 3 - 0
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 {

+ 2 - 1
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,
             }
           }]

+ 3 - 1
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;