From 4d252833effb13d1cdd48247d513a2afa2f0ad5e Mon Sep 17 00:00:00 2001 From: Aarnav Tale Date: Mon, 20 Apr 2026 21:45:40 -0400 Subject: [PATCH] fix(ui): correctly handle mobile breakpoints for the navbar Fixes HP-529. --- app/layout/app.tsx | 2 +- app/layout/header.tsx | 42 +++++++++++++++++++++++++++++++++++++----- app/root.tsx | 2 +- 3 files changed, 39 insertions(+), 7 deletions(-) diff --git a/app/layout/app.tsx b/app/layout/app.tsx index 0c764ef..04f184d 100644 --- a/app/layout/app.tsx +++ b/app/layout/app.tsx @@ -111,7 +111,7 @@ export default function AppLayout({ loaderData }: Route.ComponentProps) { configAvailable={loaderData.configAvailable} user={loaderData.user} /> -
+
{!loaderData.isHealthy && ( -
-
+
+
- + Headplane logo @@ -57,7 +57,7 @@ export default function Header({ user, access, configAvailable }: HeaderProps) {

headplane

{showTabs && ( -
-
+
@@ -145,6 +145,38 @@ export default function Header({ user, access, configAvailable }: HeaderProps) {
+ {showTabs && ( +
+ +
+ )} ); } diff --git a/app/root.tsx b/app/root.tsx index 8498ee4..bda7d39 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -32,7 +32,7 @@ export function Layout({ children }: { readonly children: React.ReactNode }) { - + {children}