diff --git a/src/components/Header.astro b/src/components/Header.astro index 98b15a15..5d168a82 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -10,12 +10,14 @@ import ThemeSelect from "virtual:starlight/components/ThemeSelect"; import { NAV_TABS as tabs } from "../data/nav"; /** - * Override of Starlight's Header: the original row plus a tab row underneath - * (the zensical.org pattern), so the main sections stay reachable from every - * page - the splash homepage has no sidebar. The row's extra height comes - * from `--sl-nav-height`, raised in custom.css; the first row keeps the - * original height via `--rs-nav-row`. The tabs live in src/data/nav.ts, - * shared with the Sidebar override. + * Override of Starlight's Header with a section-tab nav (the zensical.org + * pattern), so the main sections stay reachable from every page - the splash + * homepage has no sidebar. Below 60rem the tabs sit on their own row under + * the logo; from that breakpoint up they move next to the logo in the + * single header row. The row heights come from `--sl-nav-height`, set + * per breakpoint in custom.css; the logo row keeps the original height via + * `--rs-nav-row`. The tabs live in src/data/nav.ts, shared with the Sidebar + * override. */ const shouldRenderSearch = @@ -25,21 +27,9 @@ const shouldRenderSearch = const pathname = Astro.url.pathname; --- -