From 728fab09c7a9152e3d41065d4f874c0d5ccd777e Mon Sep 17 00:00:00 2001 From: "plebeius.eth" Date: Mon, 8 Apr 2024 17:46:36 +0200 Subject: [PATCH] update mobile views --- src/components/post-form/post-form.tsx | 14 +++++++++++--- src/components/post/post.tsx | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/components/post-form/post-form.tsx b/src/components/post-form/post-form.tsx index 195ecb95..f8e55ab3 100644 --- a/src/components/post-form/post-form.tsx +++ b/src/components/post-form/post-form.tsx @@ -42,9 +42,17 @@ const PostForm = () => { )}
- + {isThreadClosed ? ( +
+ Thread closed. +
+ You may not reply at this time. +
+ ) : ( + + )}
); diff --git a/src/components/post/post.tsx b/src/components/post/post.tsx index 3037f775..8c59eeac 100644 --- a/src/components/post/post.tsx +++ b/src/components/post/post.tsx @@ -336,7 +336,7 @@ const PostMobile = ({ post, roles, showAllReplies }: PostProps) => { {replyCount > 0 && `${replyCount} Replies`} {linkCount > 0 && ` / ${linkCount} Links`} - + {t('view_thread')}