Need for auto height from childs

I have two objects and I want the content part to cover them all. How can I do it? Just like the second photo is enough.or 3rd photo.

2.photo

3.photo

if I add “Content size fitter” to the content, the height becomes 0

6081618--659982--upload_2020-7-12_14-43-29.png

like this.

pls i cant still fix that