Skip to content

Commit

Permalink
Merge pull request #17 from sora32127/configure_comment_css
Browse files Browse the repository at this point in the history
Change whitespace property from pre to pre-wrap in CommentCard
#18
  • Loading branch information
sora32127 authored Apr 15, 2024
2 parents f8935e7 + 30365ad commit da546f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/CommentCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export default function CommentCard({
<img src={clockIcon} alt="Comment Date" className="h-5 w-5 mr-2" />
<p className="text-gray-600 text-sm">{formattedCommentDate}</p>
</div>
<p className="mt-2 whitespace-pre">{commentContent}</p>
<p className="mt-2 whitespace-pre-wrap">{commentContent}</p>
<div className="flex items-center mt-4">
<button
className={`flex items-center mr-4 bg-gray-200 rounded-md px-2 py-2 ${
Expand Down

1 comment on commit da546f6

@vercel
Copy link

@vercel vercel bot commented on da546f6 Apr 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.