From 9ffc51b5d951f461a51227df8d612af6b0c9bd5a Mon Sep 17 00:00:00 2001
From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com>
Date: Thu, 28 Aug 2025 19:46:46 +0000
Subject: [PATCH] Update mobile search functionality to slide in from the right
Modify the mobile search component to slide in from the right instead of the top, and add autofocus to the search input.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 2eb1084e-b728-4449-9231-f1665924c8d5
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/2eb1084e-b728-4449-9231-f1665924c8d5/amXgzfS
---
client/src/components/search-header.tsx | 23 ++++++-----------------
1 file changed, 6 insertions(+), 17 deletions(-)
diff --git a/client/src/components/search-header.tsx b/client/src/components/search-header.tsx
index 175977a..ae50622 100644
--- a/client/src/components/search-header.tsx
+++ b/client/src/components/search-header.tsx
@@ -87,19 +87,19 @@ export default function SearchHeader({
variant="ghost"
className="md:hidden text-bunny-light"
onClick={() => setIsMobileMenuOpen(!isMobileMenuOpen)}
- data-testid="button-mobile-menu"
+ data-testid="button-mobile-search"
>
- {isMobileMenuOpen ?