Clamp.js icon indicating copy to clipboard operation
Clamp.js copied to clipboard

auto clamping doesnt work?

Open shacharoz opened this issue 4 years ago • 1 comments

i have been searching for auto clamping according to the height for a long time now.

but not sure what needs to be done for this. can you give an example of fitting to several sizes?

thanks!

shacharoz avatar Jun 04 '20 20:06 shacharoz

It kind of works ... just specify the max-height... The issue is that it ALWAYS truncates to the first closing tag within the content!... The same does not happen if you specify the number of lines you want!

i00 avatar Feb 17 '23 06:02 i00