fix: change <p> to <div>, as it wasn't necessary for semantics

This commit is contained in:
Xyphyn committed 2023-07-29 15:24:36 -07:00
1 parent 908b45c4aa
commit 8488bb1e17
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -108,7 +108,7 @@
/>
{/if}
{#if post.post.body && !post.post.nsfw}
<p
<div
class="text-sm line-clamp-3 bg-slate-100 dark:bg-zinc-800
border border-slate-200 dark:border-zinc-700 rounded-md p-2"
>
@@ -118,7 +118,7 @@
? `${post.post.body.slice(0, 350)}...`
: post.post.body}
/>
</p>
</div>
{/if}
{/if}
{#if actions}