I'm having trouble getting a map of a component to move to the next line (as indicated by the yellow arrow). Currently, instead of moving below, it is squeezing the Component (the Cards). I've added background colors for clarity. Any advice would be greatly appreciated!
https://i.sstatic.net/KKE78.png
<div className="border-2 h-screen bg-pink-300">
<div className="flex justify-end px-10">
<button className="border-2 border-secondary p-2 rounded-lg hover:border-opacity-20">Add Item +</button>
</div>
<div className="flex overflow-x-auto bg-green-500">
{data.map((data) => (
<MenuCard title={data.title} ingredients={data.ingredients}
category={data.category} onSpecial={data.onSpecial} />
))}
</div>
</div>