diff --git a/src/lib/components/lemmy/comment/CommentItem.svelte b/src/lib/components/lemmy/comment/CommentItem.svelte
index 884a172a..21631d35 100644
--- a/src/lib/components/lemmy/comment/CommentItem.svelte
+++ b/src/lib/components/lemmy/comment/CommentItem.svelte
@@ -15,6 +15,7 @@
community?: boolean
meta?: boolean
class?: string
+ commentClass?: string
[key: string]: any
}
@@ -24,14 +25,14 @@
community = false,
meta = true,
class: clazz = '',
+ commentClass = '',
...rest
}: Props = $props()
@@ -71,10 +72,11 @@
diff --git a/src/routes/inbox/InboxItem.svelte b/src/routes/inbox/InboxItem.svelte
index 25b052ee..ef5d3881 100644
--- a/src/routes/inbox/InboxItem.svelte
+++ b/src/routes/inbox/InboxItem.svelte
@@ -184,7 +184,8 @@
community={false}
view="cozy"
meta={false}
- class="pt-0 pb-0"
+ commentClass="!pt-0 pb-0"
+ class="pt-0"
/>
{:else}