Post styling
This commit is contained in:
parent
69e971980c
commit
7c0fdd142f
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ export function PostSegment(props: { post: Post }): JSXElement {
|
||||||
return (
|
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 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">
|
<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">
|
<div class="card-actions justify-end">
|
||||||
<button
|
<button
|
||||||
onClick={(): void => nav("/post/" + props.post?.id)}
|
onClick={(): void => nav("/post/" + props.post?.id)}
|
||||||
|
|
Loading…
Reference in a new issue