We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39b8d40 commit a4b9b69Copy full SHA for a4b9b69
next-app/app/blog/[blog]/page.tsx
@@ -56,7 +56,7 @@ if (block.__component === "shared.media") {
56
return (
57
<div className="flex flex-col items-center">
58
<img
59
- className="w-full h-auto rounded-3xl"
+ className="max-w-full h-auto rounded-3xl"
60
src={getStrapiMedia(block.file.data.attributes.url)}
61
alt={block.file.data.attributes.alternativeText}
62
/>
0 commit comments