How to set the height or row in grid so that it adjust height according to the content
here is the image as you can see the content is going out of the box, but I want the height to be set according to the content in short, the height should be dynamic.