Procházet zdrojové kódy

autoplay diap site

ouidade před 1 týdnem
rodič
revize
e1e2839feb

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
web/themes/custom/reha/dist/bundle.js


+ 2 - 0
web/themes/custom/reha/js/reha.js

@@ -194,6 +194,8 @@ jQuery(document).ready(function($){
       // adaptiveHeight: true,
       centerMode: true,
       // centerPadding: '100px',
+      autoplay:true,
+      autoplaySpeed: 2000,
       responsive: [
         {
           breakpoint: 810,

+ 3 - 1
web/themes/custom/reha/scss/pages/home/_home-view-sites.scss

@@ -72,7 +72,9 @@
                                 // height: 520px;
                                 width: 100%;
                                 object-fit: contain;  
-                                height: fit-content;    
+                                height: fit-content; 
+                                // object-fit: cover;
+                                // max-height: 200px;   
                                 @media(max-width: 1500px){
                                     width: 100%;
                                 }                 

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů