fix: change <p> to <div>, as it wasn't necessary for semantics
This commit is contained in:
1 parent
908b45c4aa
commit
8488bb1e17
2 files changed
+4
-4
No files matched your search
@@ -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}
|
||||
|
||||
@@ -137,12 +137,12 @@
|
||||
</video>
|
||||
{/if}
|
||||
{#if post.body}
|
||||
<p
|
||||
<div
|
||||
class="bg-slate-100 border border-slate-200 dark:border-zinc-800
|
||||
dark:bg-zinc-900 p-2 md:p-4 text-sm rounded-md leading-[22px]"
|
||||
>
|
||||
<Markdown source={post.body} />
|
||||
</p>
|
||||
</div>
|
||||
{/if}
|
||||
<div class="w-full relative">
|
||||
<PostActions
|
||||
|
||||
Reference in new issue
Block a user