Custom popup card with layout card

Is it possible to insert layout card inside a popup card?
I tried to insert 2 cards horizontally… Each card as 4 input_select… But nothing work. I see it always vertically… And content overflow the screen (popup card doesn’t show a scrollbar)
How can i add 2 cards horizontally placed?