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

Commit 5dd856d

Browse files
committed
Update image size in People's section
1 parent 78bdf15 commit 5dd856d

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

src/components/CardList.js

+13-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,19 @@ const PeopleCard = (props) => {
2323
alignItems: "center",
2424
}}
2525
>
26-
<img src={props.img} alt="Image alt text" title="Logo Title Text 1" />
26+
<img
27+
src={props.img}
28+
className="cardImage"
29+
alt="Image alt text"
30+
title="Logo Title Text"
31+
style={{
32+
maxWidth: "250px",
33+
maxHeight: "250px",
34+
objectFit: "contain",
35+
width: "100%",
36+
height: "100%",
37+
}}
38+
/>
2739
</div>
2840
<div
2941
className="card__footer"

static/utils/contributors.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const contributors = [
1111
1212
role: "PEcAn Co-PI",
1313
profession: "Staff Scientist, Indigo Ag",
14-
img: "https://datascience.cct.arizona.edu/sites/datascience.cct.arizona.edu/files/styles/large/public/images/people/david_lebauer.jpg",
14+
img: "https://datascience.cct.arizona.edu/sites/datascience.cct.arizona.edu/files/styles/az_medium/public/2023-11/david_lebauer.jpeg",
1515
},
1616
{
1717
name: "Dr. Kenton McHenry",

0 commit comments

Comments
 (0)