Skip to content

Commit

Permalink
fix: Update CommentItem component to break words in the content
Browse files Browse the repository at this point in the history
  • Loading branch information
OXeu committed Jun 10, 2024
1 parent d332922 commit b394af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/page/feed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ function CommentItem({ comment, onRefresh }: { comment: Comment, onRefresh: () =
{format(comment.createdAt)}
</span>
</div>
<p className="t-primary">
<p className="t-primary break-words">
{comment.content}
</p>
<div className="flex flex-row justify-end">
Expand Down

0 comments on commit b394af9

Please sign in to comment.