Skip to content

Commit a4b9b69

Browse files
author
YoanRos
committed
fix: taille vignettes
1 parent 39b8d40 commit a4b9b69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

next-app/app/blog/[blog]/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ if (block.__component === "shared.media") {
5656
return (
5757
<div className="flex flex-col items-center">
5858
<img
59-
className="w-full h-auto rounded-3xl"
59+
className="max-w-full h-auto rounded-3xl"
6060
src={getStrapiMedia(block.file.data.attributes.url)}
6161
alt={block.file.data.attributes.alternativeText}
6262
/>

0 commit comments

Comments
 (0)