fix: make all cards in a line the same height

This commit is contained in:
2024-04-21 01:35:57 +02:00
parent 5062b68d98
commit 53dfe3beb4
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ export function PodcastPreviewCard({
}: Props) {
return (
<Link to={detailUrl} className={"w-full"}>
<div className={"relative mt-12 p-3 pt-12 shadow-md"}>
<div className={"relative -mb-12 mt-12 h-full p-3 pt-12 shadow-md"}>
<img
src={imageUrl}
alt={title}

View File

@@ -36,7 +36,7 @@ export function Home() {
className={"w-1/3 rounded-md border border-gray-300 p-2"}
/>
</div>
<div className={"grid grid-cols-4 gap-x-6 gap-y-14"}>
<div className={"grid grid-cols-4 gap-x-6 gap-y-24"}>
{filteredData?.map((podcast) => (
<PodcastPreviewCard
detailUrl={`/podcast/${podcast.id}`}