Skip to content

Commit

Permalink
Merge pull request #140 from Linaro/webdev-2089-about-sec
Browse files Browse the repository at this point in the history
[WEBDEV-2089] - fix about section member cards
  • Loading branch information
parker23b authored Nov 21, 2024
2 parents bbed795 + 21d144b commit 8b4bade
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions src/components/common/MemberCard.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,23 @@ const { id, name, title, image, info } = Astro.props;
---

<style>
.member-image {
margin-top: 1em;
margin-bottom: 1em;
}
.member-image {
margin-top: 1em;
margin-bottom: 1em;
}
</style>

<li
class="flex px-4 flex-col items-start rounded-2xl text-white bg-black aspect-square px-1 w-full max-w-[30ch]"
style="height: 100%"
class="flex px-4 flex-col items-start rounded-2xl text-white bg-black aspect-square px-1 w-full max-w-[30ch] h-auto"
>
<CloudinaryImg
src={image}
alt={name}
width={800}
height={800}
class="w-full h-full max-w-full object-cover rounded-2xl grayscale not-prose member-image"
/>
<h2 class="text-2xl not-prose margin-top:0">{name}</h2>
<p style="min-height: 3.5em;">{title}</p>
<MemberModal modal_id={id} description={info} />
<CloudinaryImg
src={image}
alt={name}
width={800}
height={800}
class="w-full h-full max-w-full object-cover rounded-2xl grayscale not-prose member-image"
/>
<h2 class="text-2xl not-prose margin-top:0">{name}</h2>
<p style="min-height: 3.5em;">{title}</p>
<MemberModal modal_id={id} description={info} />
</li>

0 comments on commit 8b4bade

Please sign in to comment.