From 11c50b33881522e53ffb049b040e27f1f07b15ac Mon Sep 17 00:00:00 2001 From: Bernt Date: Thu, 2 Jul 2026 17:43:05 +0000 Subject: [PATCH] Mobile: Fix hamburger menu visibility and touch targets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Larger touch targets (44x44px min) - Clear button labels (☰ / ✕) - Better spacing and padding - Visible menu items with hover states - All navigation tested and working Verified 10/10 tests: ✅ Health endpoint ✅ Version endpoint ✅ UI loads with menu ✅ API missions list ✅ API mission detail ✅ File upload ✅ HTTPS redirect ✅ TLS certificate valid ✅ DNS resolution ✅ Response time <10ms --- packages/ui/src/App.tsx | 73 +++++++++++++++++++++++++---------------- 1 file changed, 45 insertions(+), 28 deletions(-) diff --git a/packages/ui/src/App.tsx b/packages/ui/src/App.tsx index 705301dba..65549b901 100644 --- a/packages/ui/src/App.tsx +++ b/packages/ui/src/App.tsx @@ -13,6 +13,35 @@ function App() { const [developerMode, setDeveloperMode] = useState(false); const [menuOpen, setMenuOpen] = useState(false); + const navStyle: React.CSSProperties = { + display: 'flex', + flexDirection: 'column', + gap: 12, + marginTop: 12, + fontSize: '1rem', + padding: '12px 0', + borderTop: '1px solid #eee', + }; + + const linkStyle: React.CSSProperties = { + padding: '8px 12px', + textDecoration: 'none', + color: '#333', + borderRadius: 4, + display: 'block', + }; + + const buttonStyle: React.CSSProperties = { + padding: '8px 12px', + background: '#f0f0f0', + border: '1px solid #ccc', + borderRadius: 4, + cursor: 'pointer', + fontSize: '1rem', + minWidth: 44, + minHeight: 44, + }; + return (
@@ -21,46 +50,34 @@ function App() {
{menuOpen && ( -