fix(landing): correct aspect ratio on images of teammembers which makes sure they are not stretched (#1094)

Co-authored-by: Utku <74243531+utkubakir@users.noreply.github.com>
This commit is contained in:
Willem-Jaap 2023-07-12 15:16:31 +02:00 committed by GitHub
parent 1a5d2898c2
commit 1b966b72c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,7 @@ export function TeamMember(props: TeamMemberProps) {
alt={`Portrait of ${props.name}`}
width={size}
height={size}
className={clsx('m-0 inline-flex rounded-md', {
className={clsx('m-0 inline-flex rounded-md object-cover', {
'!xs:w-36 !xs:h-36 !sm:w-40 !sm:h-40 h-32 w-32': !props.investmentRound,
'lg:h-28 lg:w-28': props.investmentRound
})}