Changing height value in interaction setting based on breakpoint

Can you use a height of “auto” and allow the content to dictate the height on all breakpoints? Or is a fixed pixel height required?