add comment section stub

This commit is contained in:
Yusur 2025-10-23 15:43:00 +02:00
parent da1c2809d9
commit 599075219f
5 changed files with 31 additions and 6 deletions

View file

@ -13,6 +13,7 @@
import VoteButton from "./VoteButton.svelte";
import { getMe } from "./globals.svelte";
import CommentCount from "./CommentCount.svelte";
import CommentSection from "./CommentSection.svelte";
@ -51,7 +52,7 @@ let { title, id, content = '', to, votes, my_vote, comment_count } = post;
</div>
</article>
<CommentSection {post} />
{#snippet left()}
{#if to.type === 'guild'}
@ -78,13 +79,13 @@ let { title, id, content = '', to, votes, my_vote, comment_count } = post;
overflow-x: auto;
}
.post-body {
margin-inline-start: 3em;
margin-inline-start: 2em;
}
.message-stats {
position: absolute;
inset-inline-start: 0;
top: 0;
width: 3em;
width: 2em;
display: flex;
flex-direction: column;
justify-content: flex-start;