circagraph
Sign inSign up

openchronology/timeline-app on GitHub

The OpenChronology repository on GitHub, mirrored by och-import-github: issues and pull requests as durations (ongoing while open), what happened to them as moments, plus releases, milestones, commits and branches. The Branches view shows the most recently active branches each in a track of its own.

Source: https://github.com/openchronology/timeline-app

3,131 moments · 2026-10-05 CE 20:21:49 UTC – 2026-11-16 CE 12:10:45 UTC · by @athan · @athan

#315 Long titles wrap on phones, in the reader and the timeline heading

–

  • github
  • github/openchronology/timeline-app
  • github/openchronology/timeline-app#315
  • pull request
  • state:merged

Closes #314. - **Reader** (`src/styles.css`): the title is a flexible item that wraps between words (`overflow-wrap: break-word`), so a word only breaks when it can't fit on a line at all. At 650 px and below, the heading wraps, its buttons (Fit in view, Share, Report, ×) keep their row at the top on the right, and the title takes the full width below at 26 px. - **Timeline title** (`src/index.html`, `src/app.ts`): `#timeline-title` is now a one-row ` ` that grows to its text, fitted with the description by the same function, so a long title wraps under itself instead of running off a narrow screen. It still behaves as one line: **Enter** commits it (blur, then the existing `change`), and pasted line breaks become spaces. `maxlength`, `disabled` in view mode, and the `change` handler are unchanged. Checked at 390 px in the offline editor with the Harry Potter timeline (screenshots in the session). `npm run build` succeeds; `test/browser.mjs` passes in Firefox and WebKit, including the tests that fill, blur and change the title. `npm test` passes apart from the README check on local agent worktrees. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/pull/315

Related

Open #315 Long titles wrap on phones, in the reader and the timeline heading in the timeline

#315 Long titles wrap on phones, in the reader and the…