From 0884a1abcd4cf16e72490fdc3559252ea8ad77e1 Mon Sep 17 00:00:00 2001 From: Marcel Date: Wed, 10 Jun 2026 22:55:29 +0200 Subject: [PATCH] fix(geschichten): widen list meta column so text-sm names fit The author column stayed at w-28 after the typography bump, wrapping names into a cramped two-line stack. w-40 gives name and date one comfortable line each at the full-width layout. Refs #802 Co-Authored-By: Claude Fable 5 --- docs/specs/geschichten-reader-journey-spec.html | 2 +- frontend/src/lib/geschichte/GeschichteListRow.svelte | 2 +- .../src/lib/geschichte/GeschichteListRow.svelte.spec.ts | 9 +++++++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/specs/geschichten-reader-journey-spec.html b/docs/specs/geschichten-reader-journey-spec.html index c66fe1af..ac537ed7 100644 --- a/docs/specs/geschichten-reader-journey-spec.html +++ b/docs/specs/geschichten-reader-journey-spec.html @@ -424,7 +424,7 @@ Editorial list cardbg-white shadow-sm border border-brand-sand rounded-smwraps alle Zeilen Listenzeile List rowflex gap-0 border-b border-brand-sand last:border-0 hover:bg-surfacemin-h-[44px] auf Mobile - Meta columnw-[88px] shrink-0 flex flex-col gap-1 p-3 border-r border-brand-sandfeste Breite + Meta columnw-40 shrink-0 flex flex-col gap-1 p-3 border-r border-line-2feste Breite — breit genug für text-sm Namen ohne Umbruch Author avatarw-7 h-7 rounded-full text-[9px] font-bold text-white flex items-center justify-centerpersonAvatarColor(userId) Author namefont-sans text-sm font-semibold text-ink Datefont-sans text-sm text-ink-3formatDate(publishedAt) diff --git a/frontend/src/lib/geschichte/GeschichteListRow.svelte b/frontend/src/lib/geschichte/GeschichteListRow.svelte index 88dd34f4..0962f520 100644 --- a/frontend/src/lib/geschichte/GeschichteListRow.svelte +++ b/frontend/src/lib/geschichte/GeschichteListRow.svelte @@ -24,7 +24,7 @@ const authorName = $derived(formatAuthorName(geschichte.author)); class="group flex min-h-[44px] transition-colors hover:bg-canvas/60 focus:outline-none focus-visible:ring-2 focus-visible:ring-focus-ring" > -