Compare commits
	
		
			2 commits
		
	
	
		
			2b12a83aa8
			...
			addbb820a3
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
							 | 
						addbb820a3 | ||
| 
							 | 
						bbae426c09 | 
					 2 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -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">
 | 
					      <div class="card-body md:mx-6">
 | 
				
			||||||
        <p class="break-words text-base-content md:px-6 md:pt-2">
 | 
					        <p class="break-words text-base-content md:pt-2">
 | 
				
			||||||
          {props.post?.content}
 | 
					          {props.post?.content}
 | 
				
			||||||
        </p>
 | 
					        </p>
 | 
				
			||||||
        <div class="card-actions justify-between">
 | 
					        <div class="card-actions justify-between">
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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 parentPostId={parseInt(params.postid)} />
 | 
					          <NewCommentInputArea parentCommentId={null} parentPostId={parseInt(params.postid)} />
 | 
				
			||||||
        </Show>
 | 
					        </Show>
 | 
				
			||||||
        <CommentSection postId={params.postid} />
 | 
					        <CommentSection postId={params.postid} />
 | 
				
			||||||
      </Show>
 | 
					      </Show>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue