Reading mode spacing, phone map width, no fixed back links

- Reading mode: parts the page draws on their own lines get a space
  between them, so words no longer run together; the column is 60rem
  (was 42rem) and headings are bold in the display face.
- Local groups map scales to its column on a phone instead of holding
  34rem and scrolling sideways.
- Group, region, partner and team pages drop their fixed back link
  (records are reached from many pages); orgListHref is gone.
  Not-found pages keep theirs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Zaldimmar 2026-10-03 16:46:41 -05:00
parent de17da7dc8
commit 502a294940
7 changed files with 20 additions and 52 deletions

View file

@ -68,11 +68,11 @@ function inline(node: Node): Inline[] {
if (!(node instanceof Element) || skipped(node) || node.tagName === 'IMG') return []
if (node.tagName === 'BR') return [' ']
const children = [...node.childNodes].flatMap(inline)
if (node instanceof HTMLAnchorElement) {
const href = hrefOf(node)
return href ? [{ href, children }] : children
}
return children
const href = node instanceof HTMLAnchorElement ? hrefOf(node) : null
const parts: Inline[] = href ? [{ href, children }] : children
// A part the page draws on its own line (a span set to block, a
// flex row's items) has no space in its text: give it one.
return getComputedStyle(node).display.startsWith('inline') ? parts : [' ', ...parts, ' ']
}
const textOf = (parts: Inline[]): string =>