浏览代码

mobile content moment

Tessier 4 年之前
父节点
当前提交
c9330e8e5f

文件差异内容过多而无法显示
+ 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');
-
   }
 
     

部分文件因为文件数量过多而无法显示