From 24449fe5e9efa5f0e24d9c63032ddf9980edbc4e Mon Sep 17 00:00:00 2001 From: Arda Samadi Date: Tue, 16 Jun 2026 14:46:39 +0330 Subject: [PATCH] Desktop: sticky-footer layout (remove gray gap above + empty area below footer) - MyLayout: make the desktop shell a flex column with the content area flex-1, so the footer sits flush and pins to the bottom on short pages - DesktopFooter: drop the mt-24 that exposed the wrapper bg as a gray band - also fixes the light-gray patches in dark mode (wrapper bg no longer shows) --- app/components/MyLayout.tsx | 4 ++-- app/components/desktop/DesktopFooter.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/components/MyLayout.tsx b/app/components/MyLayout.tsx index bd7a463..b50d91f 100644 --- a/app/components/MyLayout.tsx +++ b/app/components/MyLayout.tsx @@ -50,12 +50,12 @@ const MyLayout = React.memo(({ children }: { children: React.ReactNode }) => { const isThread = !!location.pathname.split("threads")[1]; return ( -
+
{isDesktopReady && }
diff --git a/app/components/desktop/DesktopFooter.tsx b/app/components/desktop/DesktopFooter.tsx index 5019d2d..282159f 100644 --- a/app/components/desktop/DesktopFooter.tsx +++ b/app/components/desktop/DesktopFooter.tsx @@ -36,7 +36,7 @@ const COLUMNS: FooterCol[] = [ */ const DesktopFooter = () => { return ( -