How to adjust the grid size for fluent content (product display)

I have a few products I would like to showcase in one section. It works well on all breakpoints except for the mobile version. As the product display (WIX Shop) automatically adapts to the narrow screen (mobile mode) and lists the products vertically instead of horizontally, the section increases in empty space as the product display is fluent. I usually use px for my sections but can’t seem to solve the problem. Basically I would like for the section to adjust to the hight of the product display without it leaping over the next section. Hope my description is understandable. Has anyone a suggestion on how to solve this?