Skip to content

Commit

Permalink
fix card max size, center avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
olena-ole committed Sep 13, 2023
1 parent 6f5652b commit 63975d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/ContactCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ const ContactCard: React.FC<Props> = ({ contact }) => {
className="card box-border p-8 relative
flex flex-col gap-4
border border-secondary rounded-lg
min-w-[272px]
min-w-[272px] max-w-[335px]
bg-white text-primary
hover:shadow-card"
>
<a href={linkedIn} target="_blank">
<a href={linkedIn} target="_blank" className="self-center">
<img
alt={devName}
src={require(`../assets/images/team/${image}`)}
className="w-[210px] h-[210px] object-cover rounded-full self-center"
className="w-[210px] h-[210px] object-cover rounded-full"
/>
</a>

Expand Down

0 comments on commit 63975d6

Please sign in to comment.