Dynamic Div Block size based on CMS content

I am working on a project where we are mimicking the design and animation of a cell phone text message conversation. It is for a virtual gallery of 30 different artist that as asked 3-4 questions each. I have started to build out a CMS database for the content but as each response is a different length I am wondering if there is a way to create a dynamic div block so that the size adjust depending on the length of the response.

Here is my public share link: https://aio-4bcab1.webflow.io/artist-v2