We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4618950 commit 065159bCopy full SHA for 065159b
components/OfficerCard.js
@@ -56,7 +56,7 @@ function Officer({
56
>
57
<div className={styles['officer-image-container']}>
58
{/* eslint-disable-next-line @next/next/no-img-element */}
59
- <img src={photo} alt={alt} style={{ maxWidth: '100%' }} />
+ <img src={photo} alt={alt} className={styles['dev-officer-image']} />
60
</div>
61
<div>
62
<h3 className={styles.name}>{name}</h3>
styles/components/OfficerCard.module.scss
@@ -77,6 +77,12 @@
77
justify-content: center;
78
}
79
80
+.dev-officer-image {
81
+ width: 200px;
82
+ height: 200px;
83
+ object-fit: cover;
84
+}
85
+
86
.officer-image {
87
border: 2px solid #EAEAEA;
88
border-radius: 50%;
0 commit comments