Skip to content

Commit

Permalink
fix: use 100vw for sizes attribute in ResponsiveImage handler (#1203
Browse files Browse the repository at this point in the history
)

* fix: use `100vw` for `sizes` attribute in ResponsiveImage handler
  • Loading branch information
julianlam authored Nov 8, 2024
1 parent 7b8099f commit 8764672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/media/PhotoGalleryModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const PhotoGalleryModal = ({
</button>
</div>
<div className='flex items-center justify-center h-full'>
<ResponsiveImage mediaUrl={ShowImage} isHero={false} />
<ResponsiveImage mediaUrl={ShowImage} isHero={false} sizes='100vw' />
</div>
</div>
</div>
Expand Down

0 comments on commit 8764672

Please sign in to comment.