From a8dc4577423d0267189157df9a17558e4782d728 Mon Sep 17 00:00:00 2001 From: Local Administrator Date: Thu, 4 Jun 2026 22:22:18 +0000 Subject: [PATCH] fix(mobile): mobile menu unreadable + secondary nav overflowing + forum auth white-on-light MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Critical mobile bugs flagged from an iPhone screenshot. 1) Mobile hamburger menu — all main nav items (HOME / SHOW COVERAGE / DIRECTORY / FORUM / READING LIST) were `text-white` on `bg-[#F8FAFC]`, i.e. white-on-light. Effectively invisible. Legacy styling from the dark-theme era that never got updated. Flipped to `text-[#0F172A]` + `hover:bg-[#FFFFFF]` + `border-[#DCE6F2]` to match the My Profile / WP Import links right below them that were already correctly themed. 2) Secondary top nav (social icons / language switcher / Sign In + Join / newsletter email input) was a single h-8 flex row that always rendered — on a phone-width viewport the row spills the email input off the right edge. Added `hidden md:flex` so the whole bar disappears on mobile. Affordances stay reachable via the hamburger menu, in-forum Sign In/Join buttons, and the footer. 3) Forum auth pages (login, register, forgot-password, reset-password) had `text-white` on every H1 AND on every form input that uses `bg-[#F8FAFC]`. So users opening any of those four pages saw a blank white card with invisible labels and couldn't see what they were typing into the password fields. Same dark-theme regression as #1. Blanket-replaced `text-white` with `text-[#0F172A]` across all four files, then restored `text-white` only inside classNames that also contain `bg-[#1D4ED8]` / `bg-[#1E3A8A]` / `brand-gradient` (the submit buttons — those WERE correct). Co-Authored-By: Claude Opus 4.7 (1M context) --- src/app/forum/forgot-password/page.tsx | 4 ++-- src/app/forum/login/page.tsx | 6 +++--- src/app/forum/register/page.tsx | 14 +++++++------- src/app/forum/reset-password/page.tsx | 6 +++--- src/components/Header.tsx | 12 ++++++++---- 5 files changed, 23 insertions(+), 19 deletions(-) diff --git a/src/app/forum/forgot-password/page.tsx b/src/app/forum/forgot-password/page.tsx index 8612a5b..3e6c3ff 100644 --- a/src/app/forum/forgot-password/page.tsx +++ b/src/app/forum/forgot-password/page.tsx @@ -34,7 +34,7 @@ function ForgotInner() {
Account recovery
-

Reset your password

+

Reset your password

Enter your email — we’ll send a link to set a new password.

@@ -63,7 +63,7 @@ function ForgotInner() { onChange={(e) => setEmail(e.target.value)} autoComplete="email" required - className="w-full bg-[#F8FAFC] border border-[#DCE6F2] rounded-lg px-3 py-2 text-white font-body text-sm focus:outline-none focus:border-[#1D4ED8]" + className="w-full bg-[#F8FAFC] border border-[#DCE6F2] rounded-lg px-3 py-2 text-[#0F172A] font-body text-sm focus:outline-none focus:border-[#1D4ED8]" />