From 2d3a7f90350465bf37a033b419738ead000af5d3 Mon Sep 17 00:00:00 2001 From: smolgrrr Date: Thu, 2 Nov 2023 23:58:13 +1100 Subject: [PATCH] smol changes per comment --- client/src/components/Home.tsx | 4 +- .../src/components/PostCard/CardContainer.tsx | 4 +- .../src/components/PostCard/NewThreadCard.tsx | 4 +- client/src/components/PostCard/PostCard.tsx | 4 +- client/src/components/Thread/OPCard.tsx | 19 ++- client/src/components/Thread/ReplyCard.tsx | 23 ++-- client/src/components/Thread/Thread.tsx | 68 ++++++----- client/src/components/Thread/ThreadPost.tsx | 113 ++++++++++-------- client/src/utils/FileUpload.tsx | 4 +- 9 files changed, 138 insertions(+), 105 deletions(-) diff --git a/client/src/components/Home.tsx b/client/src/components/Home.tsx index fb1672d..c56666b 100644 --- a/client/src/components/Home.tsx +++ b/client/src/components/Home.tsx @@ -72,10 +72,10 @@ const Home = () => { return (
{/* {inBrowser && setInBrowser(false)} />} */} -
+
-
+
{filteredAndSortedEvents.map((event) => ( -
{children}
+
+
{children}
); } diff --git a/client/src/components/PostCard/NewThreadCard.tsx b/client/src/components/PostCard/NewThreadCard.tsx index f89b85d..f23e0cf 100644 --- a/client/src/components/PostCard/NewThreadCard.tsx +++ b/client/src/components/PostCard/NewThreadCard.tsx @@ -118,7 +118,7 @@ const NewThreadCard: React.FC = () => { > Start a New Thread
-
+