From f016620a294e783fe324585fa874a5fce0f1fa6f Mon Sep 17 00:00:00 2001 From: Oliver Kieselbach Date: Fri, 27 Mar 2026 22:06:11 +0100 Subject: [PATCH] layout fix quick search --- src/Agent/AutopilotMonitor.Agent/buildcounter.txt | 2 +- .../components/GlobalSearch.tsx | 12 ++++++------ src/Web/autopilot-monitor-web/components/Navbar.tsx | 8 ++++---- src/Web/autopilot-monitor-web/tsconfig.tsbuildinfo | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/Agent/AutopilotMonitor.Agent/buildcounter.txt b/src/Agent/AutopilotMonitor.Agent/buildcounter.txt index 636b54bd..7d71bf4a 100644 --- a/src/Agent/AutopilotMonitor.Agent/buildcounter.txt +++ b/src/Agent/AutopilotMonitor.Agent/buildcounter.txt @@ -1 +1 @@ -633 +635 diff --git a/src/Web/autopilot-monitor-web/components/GlobalSearch.tsx b/src/Web/autopilot-monitor-web/components/GlobalSearch.tsx index fd801d3c..347da1ad 100644 --- a/src/Web/autopilot-monitor-web/components/GlobalSearch.tsx +++ b/src/Web/autopilot-monitor-web/components/GlobalSearch.tsx @@ -212,9 +212,9 @@ export default function GlobalSearch() { }; return ( - <> - {/* Desktop: inline search field (visible md+) */} -
+
+ {/* Desktop: inline search field centered (visible md+) */} +
@@ -233,10 +233,10 @@ export default function GlobalSearch() {
- {/* Mobile: magnifying glass button (visible setMobileOpen(true)} - className="md:hidden p-2 rounded-lg hover:bg-gray-100 transition-colors" + className="md:hidden ml-auto p-2 rounded-lg hover:bg-gray-100 transition-colors" title="Search" > @@ -277,6 +277,6 @@ export default function GlobalSearch() {
)} - +
); } diff --git a/src/Web/autopilot-monitor-web/components/Navbar.tsx b/src/Web/autopilot-monitor-web/components/Navbar.tsx index 2a98f39c..9bf254a5 100644 --- a/src/Web/autopilot-monitor-web/components/Navbar.tsx +++ b/src/Web/autopilot-monitor-web/components/Navbar.tsx @@ -229,11 +229,11 @@ export default function Navbar() {
- {/* Right side — Search + Dark Mode, Notifications, Settings, Overflow, User */} -
- {/* Global Search */} - + {/* Global Search — centered on desktop, lupe pushed right on mobile */} + + {/* Right side — Dark Mode, Notifications, Settings, Overflow, User */} +
{/* Dark Mode Toggle — hidden on