Geschichten overview is narrower than the other directory pages — page looks inconsistent next to Dokumente/Personen #799

Open
opened 2026-06-10 22:34:47 +02:00 by marcel · 1 comment
Owner

Problem

/geschichten uses max-w-4xl (896px) while the Dokumente search (/) and Personen overview (/persons) both use max-w-7xl (1280px). Switching between directory pages makes the Geschichten list feel cramped and inconsistent.

Fix

frontend/src/routes/geschichten/+page.svelte: container max-w-4xlmax-w-7xl.

The detail page (/geschichten/[id]) intentionally stays at max-w-3xl — it is a prose reading column (spec R-2 pins it); widening it would push the serif body past the 45–75ch readability range.

Acceptance criteria

  • /geschichten container matches / and /persons (max-w-7xl)
  • /geschichten/[id] unchanged (max-w-3xl)
## Problem `/geschichten` uses `max-w-4xl` (896px) while the Dokumente search (`/`) and Personen overview (`/persons`) both use `max-w-7xl` (1280px). Switching between directory pages makes the Geschichten list feel cramped and inconsistent. ## Fix `frontend/src/routes/geschichten/+page.svelte`: container `max-w-4xl` → `max-w-7xl`. The **detail** page (`/geschichten/[id]`) intentionally stays at `max-w-3xl` — it is a prose reading column (spec R-2 pins it); widening it would push the serif body past the 45–75ch readability range. ## Acceptance criteria - [ ] `/geschichten` container matches `/` and `/persons` (`max-w-7xl`) - [ ] `/geschichten/[id]` unchanged (`max-w-3xl`)
marcel added the P2-mediumui labels 2026-06-10 22:35:01 +02:00
Author
Owner

Amendment after user review: the detail page does not stay at max-w-3xl as originally specified here. Decision: outer container goes to max-w-7xl (sheet spans the page like the other directory pages), with an inner max-w-3xl mx-auto reading column inside the sheet preserving the prose line length. Implemented in 264d7268; both spec impl-ref tables updated.

Amendment after user review: the detail page does **not** stay at `max-w-3xl` as originally specified here. Decision: outer container goes to `max-w-7xl` (sheet spans the page like the other directory pages), with an inner `max-w-3xl mx-auto` reading column inside the sheet preserving the prose line length. Implemented in 264d7268; both spec impl-ref tables updated.
Sign in to join this conversation.
No Label P2-medium ui
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: marcel/familienarchiv#799