From 532a1d891db03276764d2528b30a0e6f6c396b6a Mon Sep 17 00:00:00 2001 From: Jan Jaap Date: Thu, 30 Apr 2026 20:46:05 +0200 Subject: [PATCH] fix(web): make thread archive button always visible on mobile (#2423) Co-authored-by: Claude Sonnet 4.7 Co-authored-by: Julius Marminge --- apps/web/src/components/Sidebar.tsx | 30 ++++++++++++------- .../settings/SettingsSidebarNav.tsx | 30 ++++++++++++++++--- apps/web/src/routes/settings.tsx | 24 ++++++++++++--- 3 files changed, 65 insertions(+), 19 deletions(-) diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsx index 2214000d31e6a6fcf17d149153cc39a62c50ad89..c1c26ca534bedb24d6c62407ce5ebe76e6f0e444 100644 --- a/apps/web/src/components/Sidebar.tsx +++ b/apps/web/src/components/Sidebar.tsx @@ -373,7 +373,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP const threadMetaClassName = isConfirmingArchive ? "pointer-events-none opacity-0" : !isThreadRunning - ? "pointer-events-none transition-opacity duration-150 group-hover/menu-sub-item:opacity-0 group-focus-within/menu-sub-item:opacity-0" + ? "pointer-events-none transition-opacity duration-150 max-sm:pr-6 group-hover/menu-sub-item:opacity-0 group-focus-within/menu-sub-item:opacity-0" : "pointer-events-none"; const clearConfirmingArchive = useCallback(() => { setConfirmingArchiveThreadKey((current) => (current === threadKey ? null : current)); @@ -605,7 +605,11 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP )} -
+
{isConfirmingArchive ? (