Compare commits

..

No commits in common. "addbb820a30b678d74ee2e45ebf10ee784761750" and "2b12a83aa8a8807ca6e66498d515d99975164c5c" have entirely different histories.

2 changed files with 3 additions and 3 deletions

View file

@ -27,8 +27,8 @@ export function PostSegment(props: { post: Post }): JSXElement {
const nav = useNavigate(); const nav = useNavigate();
return ( return (
<div class="card compact w-full flex-grow border-b-2 border-b-primary bg-base-200 text-base-content transition-all hover:bg-base-300"> <div class="card compact w-full flex-grow border-b-2 border-b-primary bg-base-200 text-base-content transition-all hover:bg-base-300">
<div class="card-body md:mx-6"> <div class="card-body">
<p class="break-words text-base-content md:pt-2"> <p class="break-words text-base-content md:px-6 md:pt-2">
{props.post?.content} {props.post?.content}
</p> </p>
<div class="card-actions justify-between"> <div class="card-actions justify-between">

View file

@ -24,7 +24,7 @@ export function SinglePost(): JSXElement {
<Show when={post()}> <Show when={post()}>
<PostSegment post={post()!} /> <PostSegment post={post()!} />
<Show when={login_ctx.loggedIn()}> <Show when={login_ctx.loggedIn()}>
<NewCommentInputArea parentCommentId={null} parentPostId={parseInt(params.postid)} /> <NewCommentInputArea parentPostId={parseInt(params.postid)} />
</Show> </Show>
<CommentSection postId={params.postid} /> <CommentSection postId={params.postid} />
</Show> </Show>