Skip to content

site: fix hero left padding + remove em-dashes site-wide - #352

Merged
jeffcrouse merged 1 commit into
mainfrom
site-fix-hero-padding-and-dashes
Aug 13, 2026
Merged

site: fix hero left padding + remove em-dashes site-wide#352
jeffcrouse merged 1 commit into
mainfrom
site-fix-hero-padding-and-dashes

Conversation

@jeffcrouse

Copy link
Copy Markdown
Member

Two polish fixes on the shipped redesign (follow-up to #351).

Hero left padding

The reel hero's content was flush against the viewport's left edge while the header and one-liner band were correctly inset. The padding rule was scoped to .full-bleed > .wrap, but the hero nests .wrap inside .hero-reel-overlay, so it never matched. Fix: make .wrap a self-contained centered column at any nesting depth. Verified 0 overflow, hero now shares the same left edge as the header.

Remove em-dashes

Per request, no em-dashes on the site. Swept authored sources (content.json, content/*.md, templates, build.py strings) to hyphens, then hand-polished the marquee strings to natural punctuation (periods/commas/colons/parentheses). esc() now also normalizes em/en dashes to a hyphen, so generated operator text from reference.json (ADR-0038 snapshot, not hand-edited) can't put one on the page.

Verified: build green; 0 em/en dashes and 0 dash entities across all built pages (11 + 5 guides + 70 reference); homepage screenshot reviewed.

🤖 Generated with Claude Code

Two polish fixes on the shipped redesign:

- Hero content was flush against the viewport's left edge: the padding rule
  was scoped to `.full-bleed > .wrap`, but the reel hero nests `.wrap` inside
  `.hero-reel-overlay`, so it never matched. Make `.wrap` a self-contained
  centered column at any nesting depth. Hero now aligns with the header and the
  one-liner band (verified 0 overflow, matching left edges).
- Remove every em-dash (and en-dash) from the site copy per request: swept the
  authored sources (content.json, content/*.md, templates, build.py strings) to
  hyphens, then hand-polished the marquee strings to natural punctuation
  (periods/commas/colons/parentheses instead of a bare hyphen). esc() now also
  normalizes em/en dashes to a hyphen so generated operator text from
  reference.json (ADR-0038 snapshot, not hand-edited) can't put one on the page.

Verified: build green, 0 em/en dashes and 0 dash entities across all built
pages (11 + 5 guides + 70 reference), homepage screenshot reviewed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QB6eSNJE55ru3g4vsL77GT
@jeffcrouse
jeffcrouse enabled auto-merge (squash) August 13, 2026 23:10
@github-actions

Copy link
Copy Markdown
Contributor

Production gate (core): ✅ PASS

  • 82/82 tests passed (0 failed) in 16.708s

@jeffcrouse
jeffcrouse merged commit aaa2396 into main Aug 13, 2026
10 checks passed
@jeffcrouse
jeffcrouse deleted the site-fix-hero-padding-and-dashes branch August 13, 2026 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant