Skip to content

Commit

Permalink
fix: use pre tag for formatting text
Browse files Browse the repository at this point in the history
  • Loading branch information
bacpactech committed Dec 18, 2024
1 parent 8c9eeeb commit 3b473dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/molecules/PostCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ const PostCard = ({
</div>

<div>
<p className="text-sm text-neutral-700 py-4">{text}</p>
<pre className="text-xs lg:text-sm text-neutral-700 py-4 font-poppins whitespace-pre-wrap break-words">{text}</pre>
</div>

{/* //post Image */}
Expand Down

0 comments on commit 3b473dc

Please sign in to comment.