diff --git a/src/pages/forumpost/ForumPost.css b/src/pages/forumpost/ForumPost.css index 93dd910..b9b2eb4 100644 --- a/src/pages/forumpost/ForumPost.css +++ b/src/pages/forumpost/ForumPost.css @@ -312,6 +312,14 @@ border-left: 1px solid rgb(194, 194, 194); margin: 16px; padding: 8px; + + .comment-header { + display: flex; + flex-direction: row; + align-items: center; + gap: 8px; + justify-content: space-between; + } .comment-profile { display: flex; diff --git a/src/pages/forumpost/ForumPost.jsx b/src/pages/forumpost/ForumPost.jsx index c22d6b5..d17a415 100644 --- a/src/pages/forumpost/ForumPost.jsx +++ b/src/pages/forumpost/ForumPost.jsx @@ -67,9 +67,14 @@ const Comment = ({ comment, postID, onReply, currentUser }) => { return (
{user.username}
+{user.username}
+{timeSincePost(post.postDate)}
+{comment.content}
@@ -374,7 +379,7 @@ function ForumPostPage() { return (