Skip to content

Commit dc20aaa

Browse files
committed
Fix md size card height.
1 parent 16d7600 commit dc20aaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/card/card.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export interface Props {
1313
const { title, subtitle, url, image } = Astro.props;
1414
---
1515

16-
<div class="block min-w-[250px] w-full md:w-[40%] lg:w-[30%] p-4 bg-[#D5D6E6] rounded-2xl text-center flex flex-col h-full">
16+
<div class="block min-w-[250px] w-full md:w-[40%] lg:w-[30%] p-4 bg-[#D5D6E6] rounded-2xl text-center flex flex-col">
1717
<a href={url} class="block">
1818
<div class="relative w-full mb-4">
1919
<Image
@@ -26,7 +26,7 @@ const { title, subtitle, url, image } = Astro.props;
2626
/>
2727
</div>
2828
</a>
29-
<div class="flex flex-col items-center flex-grow mb-2">
29+
<div class="flex items-center flex-col flex-grow mb-2">
3030
<a href={url} class="block hover:underline">
3131
<h3 class="text-2xl text-primary">{title}</h3>
3232
</a>

0 commit comments

Comments
 (0)