I've put texts (title and description) on hover for the galleries but on different breakpoints, long titles are not visible. How can I make the texts and descriptions two lines?

Connect with other creators, share ideas, give feedback and get the latest product updates.
I've put texts (title and description) on hover for the galleries but on different breakpoints, long titles are not visible. How can I make the texts and descriptions two lines?