I use dotdotdot to truncate text in height specified box
<div class="product-description dotdotdot" style="word-wrap: break-word;">
<div class="product-description-icon">
<span>
<img src="product_gloves.png" alt="Gloves">
</span>
</div>
<h4>Gloves</h4>
<p>Some gloves text...</p>
</div>
jQuery :
$(".product-description.dotdotdot").dotdotdot({
watch: true
});
My product-description dotdotdot
have a min-height of 100px, and the text have the ellipsis at the end, but the text is not truncated and there is still a lot of free space.
Thank you for your help