Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

Commit

Permalink
Update image size in People's section
Browse files Browse the repository at this point in the history
  • Loading branch information
Sweetdevil144 committed Mar 12, 2024
1 parent 78bdf15 commit 5dd856d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 13 additions & 1 deletion src/components/CardList.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,19 @@ const PeopleCard = (props) => {
alignItems: "center",
}}
>
<img src={props.img} alt="Image alt text" title="Logo Title Text 1" />
<img
src={props.img}
className="cardImage"
alt="Image alt text"
title="Logo Title Text"
style={{
maxWidth: "250px",
maxHeight: "250px",
objectFit: "contain",
width: "100%",
height: "100%",
}}
/>
</div>
<div
className="card__footer"
Expand Down
2 changes: 1 addition & 1 deletion static/utils/contributors.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const contributors = [
email: "[email protected]",
role: "PEcAn Co-PI",
profession: "Staff Scientist, Indigo Ag",
img: "https://datascience.cct.arizona.edu/sites/datascience.cct.arizona.edu/files/styles/large/public/images/people/david_lebauer.jpg",
img: "https://datascience.cct.arizona.edu/sites/datascience.cct.arizona.edu/files/styles/az_medium/public/2023-11/david_lebauer.jpeg",
},
{
name: "Dr. Kenton McHenry",
Expand Down

0 comments on commit 5dd856d

Please sign in to comment.