Less goofy margins/padding for PostSegment

This commit is contained in:
Imbus 2024-03-12 17:59:58 +01:00
parent bbae426c09
commit addbb820a3

View file

@ -27,8 +27,8 @@ export function PostSegment(props: { post: Post }): JSXElement {
const nav = useNavigate();
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-body">
<p class="break-words text-base-content md:px-6 md:pt-2">
<div class="card-body md:mx-6">
<p class="break-words text-base-content md:pt-2">
{props.post?.content}
</p>
<div class="card-actions justify-between">