We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92e92d4 commit a46e89fCopy full SHA for a46e89f
1 file changed
client/src/pages/about.tsx
@@ -61,13 +61,14 @@ export default function AboutPage() {
61
62
function committeeImage(profilePic: string) {
63
return (
64
- <Image
65
- src={profilePic === null ? "/landing_placeholder.png" : profilePic}
66
- alt="/landing_placeholder.png"
67
- width={132}
68
- height={140}
69
- className="h-[8.75rem] w-[8.25rem]"
70
- />
+ <div className="relative h-[8.75rem] w-[8.25rem] overflow-hidden">
+ <Image
+ src={profilePic === null ? "/landing_placeholder.png" : profilePic}
+ alt="/landing_placeholder.png"
+ fill
+ className="object-cover object-center"
+ />
71
+ </div>
72
);
73
}
74
0 commit comments