From 2c222732dc70f9f8f0751cf96cd47c2ca59ff8c7 Mon Sep 17 00:00:00 2001 From: Mahesh Sanikommu Date: Tue, 26 May 2026 00:53:22 -0700 Subject: [PATCH] Fix mobile space switching in add-content drawer Render the space selector on mobile (was desktop-only), move the tab group to the top of the drawer, place the selector inline with the Add button, and tidy the Files-tab header. --- apps/web/components/add-document/file.tsx | 9 ++-- apps/web/components/add-document/index.tsx | 63 ++++++++++++---------- 2 files changed, 40 insertions(+), 32 deletions(-) diff --git a/apps/web/components/add-document/file.tsx b/apps/web/components/add-document/file.tsx index 512ebd09..beb31878 100644 --- a/apps/web/components/add-document/file.tsx +++ b/apps/web/components/add-document/file.tsx @@ -194,9 +194,12 @@ export function FileContent({ )} >
-

- Upload files (images, PDF, documents, sheets, markdown) -

+
+

Upload files

+

+ Images, PDF, documents, sheets, markdown +

+