Skip to content

Commit

Permalink
Limite la hauteur des images dans les articles
Browse files Browse the repository at this point in the history
  • Loading branch information
mariheck committed Oct 10, 2024
1 parent bbb3b8c commit 34d9fa4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/site/app/actus/[id]/[slug]/ParagrapheArticle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ const ParagrapheArticle = ({
{image && alignementImage === 'Centre Haut' && (
<StrapiImage
data={image}
containerClassName="max-w-full lg:max-w-[80%] h-full flex flex-col justify-center items-center mb-6 mx-auto"
containerClassName="max-w-full lg:max-w-[80%] h-fit flex flex-col justify-center items-center mb-6 mx-auto"
className="h-full max-h-[500px]"
displayCaption={legendeVisible}
/>
)}
Expand Down Expand Up @@ -60,7 +61,8 @@ const ParagrapheArticle = ({
{image && alignementImage === 'Centre Bas' && (
<StrapiImage
data={image}
containerClassName="max-w-full lg:max-w-[80%] h-full flex flex-col justify-center items-center mb-6 mx-auto"
containerClassName="max-w-full lg:max-w-[80%] h-fit flex flex-col justify-center items-center mb-6 mx-auto"
className="h-full max-h-[500px]"
displayCaption={legendeVisible}
/>
)}
Expand Down

0 comments on commit 34d9fa4

Please sign in to comment.