Optimal group height

Hi,

I am building in app and I want to use the group-stack method. So for example: show an list of orders and the details of each order in click. I want to use two groups as containers. One that holds a repeating group to list an overview the other that holds the details. I want to stack them vertically and show/hide them conditionally

From both desktop and mobile* perspective what would be the optimal height to use for each container group?

*I am willing to also make seperate container groups for mobile view if this the best method to use.

Thanks for the information!