Post styling

This commit is contained in:
Imbus 2023-12-09 11:53:10 +01:00
parent 69e971980c
commit 7c0fdd142f

View file

@ -28,7 +28,7 @@ export function PostSegment(props: { post: Post }): JSXElement {
return (
<div class="card compact w-full flex-grow border-b-2 border-b-base-300 bg-base-200 text-base-content transition-all hover:bg-base-300">
<div class="card-body">
<p class="break-words text-base-content">{props.post?.content}</p>
<p class="break-words text-base-content md:px-6 md:pt-2">{props.post?.content}</p>
<div class="card-actions justify-end">
<button
onClick={(): void => nav("/post/" + props.post?.id)}