There is a css style called “gap” (row-gap and column-gap too) designed for flex things Tho its “rather new” so might not work on everything. Newest browsers on pc should work tho.
Edit:
Seems to work in the designer too, just put it on the flex repeater style