[resumes][fix] render multi-line text in comments

pull/363/head
Terence Ho 3 years ago
parent ab39198132
commit 3c573110f9

@ -49,7 +49,7 @@ export default function CommentBody({
</div> </div>
{/* Description */} {/* Description */}
<div className="text-sm">{comment.description}</div> <div className="whitespace-pre-wrap text-sm">{comment.description}</div>
{/* Upvote and edit */} {/* Upvote and edit */}
<div className="flex flex-row space-x-1 pt-1 align-middle"> <div className="flex flex-row space-x-1 pt-1 align-middle">

Loading…
Cancel
Save