@@ -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>
@@ -27,7 +27,7 @@
<div class="__style_prefix__-title bx-def-margin-sec-bottom bx-def-font-h3">__title__</div>
- <div class="__style_prefix__-content">__item_content__</div>
+ <div class="__style_prefix__-content bx-overflow-ready">__item_content__</div>
@@ -890,6 +890,10 @@ input.bx-btn {
/* --------------- Show More */
+.bx-overflow-ready {
+ max-height: 250px;
+ overflow: hidden;
+}
.bx-overflow:before {
position: absolute;
bottom: 0;