Skip to content

Commit

Permalink
update image size in modal
Browse files Browse the repository at this point in the history
  • Loading branch information
SamratSahoo committed Sep 27, 2024
1 parent f6e1a71 commit f54cbd6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Modals/ModalImage/ModalImage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ const ModalImage = ({
return (
<>
<Box position="relative" {...props}>
<Box boxShadow="lg" margin="0 .3rem .5rem 0">
<Image
<Box boxShadow="lg" margin="0 .3rem .5rem 0" height="100%" maxHeight="200px" width="100%">
<img
src={image}
layout="responsive"
width="100%"
height="100%"
height="min(100%, 200px)"
objectFit="cover"
alt={"card image"}
/>
Expand Down

1 comment on commit f54cbd6

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for southface ready!

✅ Preview
https://southface-1uc4wwpai-johnnys-projects-00ea9c89.vercel.app

Built with commit f54cbd6.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.