How I I will solve this problem

If I will use horizontal scroll arrangement for dynamic cards view then why creat this type of card but I will use for dynamic card view vertical arrangement then all is well

Adjust the height of horizontal scroll arrangement as well as dynamic card width