mirror of
https://github.com/ershisan99/podcaster.git
synced 2025-12-17 05:09:27 +00:00
fix: make all cards in a line the same height
This commit is contained in:
@@ -15,7 +15,7 @@ export function PodcastPreviewCard({
|
|||||||
}: Props) {
|
}: Props) {
|
||||||
return (
|
return (
|
||||||
<Link to={detailUrl} className={"w-full"}>
|
<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
|
<img
|
||||||
src={imageUrl}
|
src={imageUrl}
|
||||||
alt={title}
|
alt={title}
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ export function Home() {
|
|||||||
className={"w-1/3 rounded-md border border-gray-300 p-2"}
|
className={"w-1/3 rounded-md border border-gray-300 p-2"}
|
||||||
/>
|
/>
|
||||||
</div>
|
</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) => (
|
{filteredData?.map((podcast) => (
|
||||||
<PodcastPreviewCard
|
<PodcastPreviewCard
|
||||||
detailUrl={`/podcast/${podcast.id}`}
|
detailUrl={`/podcast/${podcast.id}`}
|
||||||
|
|||||||
Reference in New Issue
Block a user