mirror of
https://github.com/r-freeman/portfolio.git
synced 2025-04-18 20:44:46 +00:00
Update comment style
All checks were successful
Build And Publish / BuildAndPublish (push) Successful in 3m10s
All checks were successful
Build And Publish / BuildAndPublish (push) Successful in 3m10s
This commit is contained in:
parent
ad82326eb9
commit
907da404b2
@ -26,6 +26,8 @@ type CommentsListProps = {
|
||||
|
||||
Comments.List = function List({comments}: CommentsListProps) {
|
||||
return (
|
||||
<>
|
||||
{comments.length > 0 &&
|
||||
<section>
|
||||
<h3 className="text-base font-semibold tracking-tight text-zinc-800 dark:text-zinc-100 mb-4">
|
||||
Comments
|
||||
@ -43,11 +45,13 @@ Comments.List = function List({comments}: CommentsListProps) {
|
||||
</time>
|
||||
</p>
|
||||
</div>
|
||||
<p className="mt-1 text-sm text-zinc-600 dark:text-zinc-400">{comment.content}</p>
|
||||
<p className="mt-1 text-sm text-zinc-600 dark:text-zinc-400 max-w-xl">{comment.content}</p>
|
||||
</div>
|
||||
</article>
|
||||
))}
|
||||
</section>
|
||||
}
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user