Skip to content

Commit

Permalink
Merge pull request #462 from Sitecore/fix-images
Browse files Browse the repository at this point in the history
Fix images for PeopleGrid Component
  • Loading branch information
robearlam authored Apr 30, 2024
2 parents afef90c + 191df6a commit 0df1c47
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ export const Default = (props: PersonProps): JSX.Element => {
onClick={props.params?.LinkToBio == '1' ? onOpen : undefined}
cursor="pointer"
field={props.fields.Image}
objectFit="cover"
boxSize="300px"
/>
{props.params?.LinkToBio == '1' && (
<Button onClick={onOpen} variant="link">
Expand Down

0 comments on commit 0df1c47

Please sign in to comment.