3D engine that AI agents drive
Show the changelog title once and keep the site header on one row on phones
Nguyen Xuan Ana60ed47404d2
diff --git a/changelog.html b/changelog.htmlindex e1de6fcc..2ce138e6 100644--- a/changelog.html+++ b/changelog.html@@ -7,11 +7,10 @@<a class="brand" href="/">67js</a><span class="version" data-release-version>Loading release</span><nav aria-label="Library"><a href="/docs.html">Docs</a><a href="/changelog.html" aria-current="page">Changelog</a></nav>- <a class="site-nav-cta" href="https://github.com/codepawl/67.js"><span class="package-logo package-logo-github" aria-hidden="true"></span>GitHub</a>+ <a class="site-nav-cta" href="https://github.com/codepawl/67.js" aria-label="GitHub"><span class="package-logo package-logo-github" aria-hidden="true"></span><span class="site-nav-cta-label">GitHub</span></a></header><main id="content" class="docs docs-page"><aside class="docs-sidebar" aria-label="Changelog navigation">- <a class="docs-title" href="#unreleased">Changelog</a><details id="doc-topic-menu"><summary>Versions <span id="doc-topic-name"></span><span aria-hidden="true">⌄</span></summary><nav id="doc-toc" aria-label="Versions"></nav></details></aside><div class="docs-reading">diff --git a/changes/482-header.md b/changes/482-header.mdnew file mode 100644index 00000000..7d449ae4--- /dev/null+++ b/changes/482-header.md@@ -0,0 +1 @@+- Show the changelog page title once (issue #482): the small "Changelog" link above the Versions picker is gone, and the page keeps its heading. Below 480 px the site header's GitHub button shows only its mark, with an `aria-label`, so the header stays on one row on a phone on every page that shares it.diff --git a/docs.html b/docs.htmlindex 87e7c4a8..3c3620ea 100644--- a/docs.html+++ b/docs.html@@ -7,7 +7,7 @@<a class="brand" href="/">67js</a><span class="version" data-release-version>Loading release</span><nav aria-label="Library"><a href="/docs.html" aria-current="page">Docs</a><a href="/changelog.html">Changelog</a></nav>- <a class="site-nav-cta" href="https://github.com/codepawl/67.js"><span class="package-logo package-logo-github" aria-hidden="true"></span>GitHub</a>+ <a class="site-nav-cta" href="https://github.com/codepawl/67.js" aria-label="GitHub"><span class="package-logo package-logo-github" aria-hidden="true"></span><span class="site-nav-cta-label">GitHub</span></a></header><main id="content" class="docs docs-page"><aside class="docs-sidebar" aria-label="Documentation navigation">diff --git a/index.html b/index.htmlindex 12dc21cb..f6301338 100644--- a/index.html+++ b/index.html@@ -25,7 +25,7 @@<nav aria-label="Library"><a href="/docs.html">Docs</a><a href="/changelog.html">Changelog</a></nav>- <a class="site-nav-cta" href="https://github.com/codepawl/67.js"><span class="package-logo package-logo-github" aria-hidden="true"></span>GitHub</a>+ <a class="site-nav-cta" href="https://github.com/codepawl/67.js" aria-label="GitHub"><span class="package-logo package-logo-github" aria-hidden="true"></span><span class="site-nav-cta-label">GitHub</span></a></header><main id="content"><section class="hero" aria-label="67js introduction and live preview">diff --git a/showcase.html b/showcase.htmlindex 8a7ee464..156fbdca 100644--- a/showcase.html+++ b/showcase.html@@ -15,7 +15,7 @@<nav aria-label="Library"><a href="/docs.html">Docs</a><a href="/changelog.html">Changelog</a></nav>- <a class="site-nav-cta" href="https://github.com/codepawl/67.js"><span class="package-logo package-logo-github" aria-hidden="true"></span>GitHub</a>+ <a class="site-nav-cta" href="https://github.com/codepawl/67.js" aria-label="GitHub"><span class="package-logo package-logo-github" aria-hidden="true"></span><span class="site-nav-cta-label">GitHub</span></a></header><main id="content"><section class="showcase-stage" aria-labelledby="showcase-title">diff --git a/src/site.css b/src/site.cssindex 9735fd5d..404da2da 100644--- a/src/site.css+++ b/src/site.css@@ -412,3 +412,8 @@ body.site > main > section { scroll-margin-top: 96px; }.site .example.is-lead .work-title { font-size: 15px; padding: 0; }.site .work-index, .site .work-date { color: var(--muted); }}+/* A phone keeps the header on one row: the GitHub button shows only its mark. */+@media (max-width: 480px) {+ .site .site-nav-cta { width: 34px; padding: 0; }+ .site .site-nav-cta-label { display: none; }+}