Take a look at the image I've attached. The text is overflowing outside the div, and I want to collapse it with a "Read more" link at the end. Users should be able to click on the "Read more" link to expand the text.
I'm currently working on a project using Next.js.
Check out the screenshot of the div here
My requirement is to collapse the text to a specified number of lines without breaking the text.