I am struggling with positioning a NextJS Image
component within a Material UI Box
component. The image is currently centered width-wise, causing alignment issues with the padding of the navigation bar. How can I adjust the positioning to have the image align with the left edge of its parent container?
<Box
border="1px dashed white"
position="relative"
width="250px"
height="84px"
display="flex"
justifyContent="flex-start"
>
<Image
fill
objectFit="contain"
alt="Black Diasporer logo"
src="/black_diasporer_logo.png"
/>
</Box>