Vertical-stack, orizzontal-stack e custom:button-card

I have created a remote control with these three objects. But the stack the size of the vertical stack seems fixed, that is, it does not fit the buttons that make up the various horizontal stacks.
I have not found in the description of the two objects any attribut that can help me. How can I solve?
Thanks.

You could try something with custom:mod-card if you are familiar with CSS styling.

I try. Thank you