Categorized with
front end development
Since there is currently no way to set the value of the -webkit-line-clamp attribute to auto, I've created a component to dynamically clamp the number of lines displayed for a given text depending on the height of its container.