Skip to content

Commit

Permalink
fix: taille vignettes
Browse files Browse the repository at this point in the history
  • Loading branch information
YoanRos committed Jul 30, 2024
1 parent 39b8d40 commit a4b9b69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next-app/app/blog/[blog]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ if (block.__component === "shared.media") {
return (
<div className="flex flex-col items-center">
<img
className="w-full h-auto rounded-3xl"
className="max-w-full h-auto rounded-3xl"
src={getStrapiMedia(block.file.data.attributes.url)}
alt={block.file.data.attributes.alternativeText}
/>
Expand Down

0 comments on commit a4b9b69

Please sign in to comment.