Bladeren bron

mobile content moment

Tessier 4 jaren geleden
bovenliggende
commit
c9330e8e5f

File diff suppressed because it is too large
+ 0 - 0
web/themes/custom/popsu_colloque/css-compiled/index.css


+ 1 - 1
web/themes/custom/popsu_colloque/css/pages/moments.scss

@@ -23,7 +23,7 @@
     }
     .__content{
       max-height: calc(1.5rem * 12 );
-      // 1.5rem = line-height
+      // 1.5rem = line-height if change don't forget script.js
       overflow: hidden;
       &.is_active{
         max-height: 100%!important;

+ 0 - 4
web/themes/custom/popsu_colloque/js/script.js

@@ -327,14 +327,10 @@
     TxtMomentHeght = $('#moments .__content').height();
     limitHeight = 16 * 8;
 
-    console.log(TxtMomentHeght);
-
     $morelink = $('#moments .more_link');
 
   if(TxtMomentHeght <= limitHeight){
-    console.log("salut");
     $morelink.addClass('is_active');
-
   }
 
     

Some files were not shown because too many files changed in this diff