From bf66f24c8fa2d229f17554803d40bb0ef9babf96 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 Jan 2026 10:07:30 +0000 Subject: [PATCH 1/3] Initial plan From c8d00dd9a9b9f3cea50d80abdd22f5306c79801a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 Jan 2026 10:11:44 +0000 Subject: [PATCH 2/3] Fix header links mobile styling to prevent wrapping Co-authored-by: SabotageAndi <859801+SabotageAndi@users.noreply.github.com> --- assets/css/main.scss | 53 +++++++++++++++++++++++++++++++++----------- 1 file changed, 40 insertions(+), 13 deletions(-) diff --git a/assets/css/main.scss b/assets/css/main.scss index 7c1f95b..e703fbb 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -219,27 +219,33 @@ h1, h2, h3, h4, h5, h6 { /* Mobile navigation optimizations */ @media (max-width: 768px) { .greedy-nav { + flex-wrap: nowrap !important; + a.site-title { - font-size: 0.9em; - margin-inline-end: 0.5rem !important; + font-size: 0.85em; + margin-inline-end: 0.3rem !important; + white-space: nowrap; } .visible-links { - margin-inline-end: 0.5rem; + margin-inline-end: 0.25rem; + flex-wrap: nowrap !important; - li:first-child { + li { flex: 0 0 auto !important; } a { - margin: 0 0.5rem !important; - font-size: 0.9em; + margin: 0 0.3rem !important; + font-size: 0.85em; + white-space: nowrap; } } .theme-toggle { - margin-inline-start: 0.25rem; - padding: 0.4em; + margin-inline-start: 0.15rem; + padding: 0.35em; + flex-shrink: 0; } } @@ -401,14 +407,35 @@ table { padding: 1.5em; } - .theme-toggle { - padding: 0.375em; + .greedy-nav { + a.site-title { + font-size: 0.8em; + margin-inline-end: 0.2rem !important; + } + + .visible-links { + margin-inline-end: 0.15rem; + + a { + margin: 0 0.2rem !important; + font-size: 0.8em; + } + } - svg { - width: 1.125em; - height: 1.125em; + .theme-toggle { + margin-inline-start: 0.1rem; + padding: 0.3em; + + svg { + width: 1em; + height: 1em; + } } } + + .site-logo img { + max-height: 1.3rem !important; + } } /* ========================================================================== From 0c2458d5aabf21a2442c34c01981000502fc0996 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 Jan 2026 10:17:39 +0000 Subject: [PATCH 3/3] Address code review feedback - improve margin consistency Co-authored-by: SabotageAndi <859801+SabotageAndi@users.noreply.github.com> --- assets/css/main.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/css/main.scss b/assets/css/main.scss index e703fbb..b957964 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -228,10 +228,11 @@ h1, h2, h3, h4, h5, h6 { } .visible-links { - margin-inline-end: 0.25rem; + margin-inline-end: 0.3rem; flex-wrap: nowrap !important; li { + /* All items need flex: 0 0 auto to prevent shrinking and stay on one line */ flex: 0 0 auto !important; } @@ -414,7 +415,7 @@ table { } .visible-links { - margin-inline-end: 0.15rem; + margin-inline-end: 0.2rem; a { margin: 0 0.2rem !important;