From 351d9270052790f4904228471d1e80a57c67acd4 Mon Sep 17 00:00:00 2001 From: Zayd Date: Thu, 7 Nov 2024 14:49:07 +0530 Subject: [PATCH 1/4] updated layout Added a main div and fixed classname so footer stays to the bottom --- app/(app)/layout.tsx | 8 +++++--- app/(app)/my-posts/_client.tsx | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/app/(app)/layout.tsx b/app/(app)/layout.tsx index cdb45497..2f4fa033 100644 --- a/app/(app)/layout.tsx +++ b/app/(app)/layout.tsx @@ -78,14 +78,16 @@ export default async function RootLayout({ : null; return ( - <> +
); } diff --git a/app/(app)/my-posts/_client.tsx b/app/(app)/my-posts/_client.tsx index ee9cfcd6..8abbeaae 100644 --- a/app/(app)/my-posts/_client.tsx +++ b/app/(app)/my-posts/_client.tsx @@ -109,8 +109,8 @@ const MyPosts = () => { /> )}
-
- +
+
{selectedTabData.status === "loading" && ( From d2202ffbb85a88af65e3385e85c7f2dee7780868 Mon Sep 17 00:00:00 2001 From: Zayd Date: Tue, 12 Nov 2024 14:02:19 +0530 Subject: [PATCH 2/4] updated layout, used flex-grow and flex-col for sticking the footer to bottom of screen --- app/(app)/layout.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/(app)/layout.tsx b/app/(app)/layout.tsx index 2f4fa033..f8c3f063 100644 --- a/app/(app)/layout.tsx +++ b/app/(app)/layout.tsx @@ -78,13 +78,13 @@ export default async function RootLayout({ : null; return ( -
+