mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-04 12:13:27 +00:00
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:
parent
1a5d2898c2
commit
1b966b72c4
|
@ -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
|
||||
})}
|
||||
|
|
Loading…
Reference in a new issue