Metafield Files in Custom Liquid/HTML Next to each other

Hi all, Hope someone can help, how do you get metafield files side by side instead of stacked as shown below.