diff --git a/src/lib/components/PostCard.svelte b/src/lib/components/PostCard.svelte index a5f5548..78fef6e 100644 --- a/src/lib/components/PostCard.svelte +++ b/src/lib/components/PostCard.svelte @@ -22,12 +22,14 @@ href, tagBase = "/posts/tag", commentCount = null, + class: className = "", }: { post: PostWithImage; href: string; tagBase?: string; /** Approved comment count. `null` = unknown/loading, hide badge. `0` = also hide. */ commentCount?: number | null; + class?: string; } = $props(); const rawImg = $derived(post._rawImageUrl); @@ -52,7 +54,7 @@
{#if rawImg} diff --git a/src/lib/components/blocks/PostOverviewBlock.svelte b/src/lib/components/blocks/PostOverviewBlock.svelte index 21e61cd..a0797de 100644 --- a/src/lib/components/blocks/PostOverviewBlock.svelte +++ b/src/lib/components/blocks/PostOverviewBlock.svelte @@ -1,7 +1,8 @@