aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/CommentsList/CommentsList.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-01-07 16:34:55 +0100
committerArmand Philippot <git@armandphilippot.com>2022-01-07 19:04:13 +0100
commita385d89dfd6312f2255d1343cea3f63375ce5b39 (patch)
treecad32cfd21e188eb1c145d0fda173da7f353b591 /src/components/CommentsList/CommentsList.tsx
parent8efb9219116a6c665d1059d3218c9405c616e404 (diff)
chore: improve comment section
I also adjust styles for all forms and primary buttons.
Diffstat (limited to 'src/components/CommentsList/CommentsList.tsx')
-rw-r--r--src/components/CommentsList/CommentsList.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/CommentsList/CommentsList.tsx b/src/components/CommentsList/CommentsList.tsx
index 6599475..3a1c57e 100644
--- a/src/components/CommentsList/CommentsList.tsx
+++ b/src/components/CommentsList/CommentsList.tsx
@@ -12,10 +12,11 @@ const CommentsList = ({ comments }: { comments: CommentData[] }) => {
return (
<>
+ <h2 className={styles.title}>{t`Comments`}</h2>
{comments.length > 0 ? (
<ol className={styles.list}>{getCommentsList()}</ol>
) : (
- <p>{t`No comments yet.`}</p>
+ <p className={styles['no-comments']}>{t`No comments yet.`}</p>
)}
</>
);