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

#258 Show a timeline's whole description under its title (#257)

–

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

Closes #257. The description under a timeline's title was a one-row ` ` that never grew, so a longer description scrolled inside it. - `src/app.ts`: `fitDescription()` sets the field's height to its text. It runs when the description is filled, as it's typed, and when its width changes, using a `ResizeObserver` that only watches the width so the height change doesn't loop. This works in Firefox, which doesn't support CSS `field-sizing` yet. - `src/styles.css`: the field has no scroll of its own. - `test/browser.mjs`: a long description is taller than 60 px and shows without scrolling. Passes in Chromium, Firefox and WebKit. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/pull/258

Related

Open #258 Show a timeline's whole description under its title (#257) in the timeline

#258 Show a timeline's whole description under its title…