Skip to content

Commit

Permalink
Crops non 1:1 officer images to prevent stretching (#727)
Browse files Browse the repository at this point in the history
  • Loading branch information
smalex-z authored Oct 31, 2024
1 parent 921c583 commit 7d58f47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/Officers/OfficerCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ function Officer({
alt={alt}
width={130}
height={130}
objectFit="cover" // Crop to fit the aspect ratio
unoptimized={true}
/>
</div>
Expand Down

0 comments on commit 7d58f47

Please sign in to comment.