Why can't I move my Image to the left side of the div? No matter what I try, it stays stuck in the center.
I initially used flexbox to achieve this, but had to switch to relative positioning due to a conflict with the Nextjs Image component. The issue seemed to stem from the "layout='fill'" attribute in the Image tag, which I can't seem to remove.
<div className="relative w-full bg-blue p-4 my-4 rounded-2xl lg:basis-5/12">
<Image className="float-left mr-4" src={"/"+icon} layout={"fill"} objectFit={"contain"} />
<div>
<h3>{ title }</h3>
<p>
{ paragraph }
</p>
</div>
</div>
Current output can be seen here: https://i.sstatic.net/88lr3.png