From 8a1cf7b2b651a6b4b53f2d93b8289c4fe25bb78f Mon Sep 17 00:00:00 2001 From: Christian Manivong Date: Sat, 26 Sep 2026 10:52:13 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20usable=20on=20phones=20=E2=80=94=20menu,?= =?UTF-8?q?=20no=20sideways=20scrolling,=20whole=20roadmap=20intro?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - The navigation had no mobile layout: every page was 413px wider than a phone. Below lg the links now sit behind a menu button, grouped like the desktop dropdowns; the menu closes on navigation. - Glossary tooltips were invisible but still laid out, so a term near the right edge widened the page. Hidden tooltips no longer take up space; they show on hover and on keyboard focus as before. - Long German words in page headings ("produktionstauglich", "Konfigurationstiefe") overflowed at 360px; headings start a size smaller on phones. - The roadmap intro dropped everything after its second "NIS2" ("…the baseline requirements of"); it is split at the first one only now. Checked at 360, 390 and 768px on every page: no horizontal overflow. Co-Authored-By: Claude Opus 5.5 --- src/components/GlossaryMark.tsx | 3 +- src/components/Nav.tsx | 51 +++++++++++++++++++++++++++++++-- src/pages/ForItDepartment.tsx | 2 +- src/pages/ForItSupport.tsx | 2 +- src/pages/ForMsp.tsx | 2 +- src/pages/GettingStarted.tsx | 2 +- src/pages/Roadmap.tsx | 4 +-- 7 files changed, 56 insertions(+), 10 deletions(-) diff --git a/src/components/GlossaryMark.tsx b/src/components/GlossaryMark.tsx index 5670854..797dec8 100644 --- a/src/components/GlossaryMark.tsx +++ b/src/components/GlossaryMark.tsx @@ -48,10 +48,11 @@ export default function GlossaryMark({ id, children }: { id: string; children: R className="group relative border-b border-dotted border-sky-500/60 hover:border-sky-400 hover:text-sky-300 transition-colors" > {children} + {/* display:none while hidden: an invisible box would still widen the page on phones */}