From 701a3b602089c1928ae512531e105111febf7e38 Mon Sep 17 00:00:00 2001 From: chihlasm Date: Sat, 21 Mar 2026 13:51:14 +0000 Subject: [PATCH] fix(mobile): collapse search bar to icon on mobile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On mobile (<640px), the full search bar with placeholder text and ⌘K badge was taking too much space in the topbar. Now shows just a magnifying glass icon that opens the same command palette on tap. Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/components/layout/TopBar.tsx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/layout/TopBar.tsx b/frontend/src/components/layout/TopBar.tsx index 579a3306..bc31852f 100644 --- a/frontend/src/components/layout/TopBar.tsx +++ b/frontend/src/components/layout/TopBar.tsx @@ -78,10 +78,10 @@ export function TopBar() { {/* Spacer - push search to center */}
- {/* Search trigger */} + {/* Search trigger — icon on mobile, full bar on desktop */} + {/* Spacer - push actions to right */}