shave

Shave is a javascript plugin that truncates multi-line text within a html element based on set max height

ellipsistruncatetruncationtruncatedsemanticjscontentshortenjavascripttextshavetrim

https://dollarshaveclub.github.io/shave/