Skip to content

Commit

Permalink
fix(SanityImage): full width for Storybook mock image
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiazom committed Oct 7, 2024
1 parent a7057f1 commit c4f7d98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/image/SanityImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function SanityImage({ image }: { image: IImage }) {
<Image
alt={image?.alt || ""}
src={image.src.src}
style={{ objectFit: "cover", height: "100%" }}
style={{ objectFit: "cover", height: "100%", width: "100%" }}
width={300}
height={300}
/>
Expand Down

0 comments on commit c4f7d98

Please sign in to comment.