فهرست منبع

Ticket #3596 - Timeline: 'Show More' doesn't work on Views block when Asynchronous Mode is enabled.

AntonLV 4 سال پیش
والد
کامیت
3d2fefa3ab

+ 1 - 1
modules/boonex/artificer/data/template/bx_timeline/type_post.html

@@ -20,7 +20,7 @@
         <div class="__style_prefix__-title text-lg lg:text-xl font-semibold text-gray-700 group-hover:text-gray-900 dark:text-gray-300 dark:group-hover:text-white mb-1 lg:mb-2 ">__title__</div>
     </bx_if:show_title>
     <bx_if:show_content>
-        <div class="__style_prefix__-content text-sm lg:text-base text-gray-500 group-hover:text-gray-600 dark:text-gray-400 dark:group-hover:text-gray-300 mb-2">__item_content__</div>
+        <div class="__style_prefix__-content bx-overflow-ready text-sm lg:text-base text-gray-500 group-hover:text-gray-600 dark:text-gray-400 dark:group-hover:text-gray-300 mb-2">__item_content__</div>
     </bx_if:show_content>
 </div>
 <bx_if:show_attachments>

+ 1 - 1
modules/boonex/timeline/template/type_post.html

@@ -27,7 +27,7 @@
         <div class="__style_prefix__-title bx-def-margin-sec-bottom bx-def-font-h3">__title__</div>
     </bx_if:show_title>
     <bx_if:show_content>
-        <div class="__style_prefix__-content">__item_content__</div>
+        <div class="__style_prefix__-content bx-overflow-ready">__item_content__</div>
     </bx_if:show_content>
 </div>
 <bx_if:show_attachments>

+ 4 - 0
template/css/common.css

@@ -890,6 +890,10 @@ input.bx-btn {
 
 
 /* --------------- Show More */
+.bx-overflow-ready {
+    max-height: 250px;
+    overflow: hidden;
+}
 .bx-overflow:before {
     position: absolute;
     bottom: 0;