From 74b13abf53ce6d2b0733eac2efec09ccff34ab09 Mon Sep 17 00:00:00 2001 From: Marcel Date: Sat, 2 May 2026 18:46:31 +0200 Subject: [PATCH] fix(geschichten): widen story body and lift section-header contrast MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Story-detail body now uses an explicit Tailwind block-element selector ruleset instead of the `prose` plugin, so the body fills the full max-w-3xl parent width — previously `prose` clamped to ~65ch inside an already narrow page. GeschichtenCard heading and the "+ Geschichte schreiben" link now use text-ink-2 (#4b5563 = 7.6:1 on white, AAA-passable) instead of text-ink-3 or text-ink/60. Same fix on the "+ Geschichte anhängen" link in the Document drawer column and on the Personen / Dokumente section headers on the story detail page. Closes Leonie's review B1, B2 and S4 on PR #382. Co-Authored-By: Claude Opus 4.7 --- .../components/DocumentMetadataDrawer.svelte | 2 +- .../src/lib/components/GeschichtenCard.svelte | 4 ++-- .../src/routes/geschichten/[id]/+page.svelte | 17 +++++++++++++---- 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/frontend/src/lib/components/DocumentMetadataDrawer.svelte b/frontend/src/lib/components/DocumentMetadataDrawer.svelte index e30f87c8..3baf2b79 100644 --- a/frontend/src/lib/components/DocumentMetadataDrawer.svelte +++ b/frontend/src/lib/components/DocumentMetadataDrawer.svelte @@ -199,7 +199,7 @@ function getFullName(person: Person): string { {#if canBlogWrite && documentId} {m.geschichten_card_attach_action()} diff --git a/frontend/src/lib/components/GeschichtenCard.svelte b/frontend/src/lib/components/GeschichtenCard.svelte index a8e7a0b1..b97d1142 100644 --- a/frontend/src/lib/components/GeschichtenCard.svelte +++ b/frontend/src/lib/components/GeschichtenCard.svelte @@ -39,14 +39,14 @@ function authorName(g: Geschichte): string {

{m.geschichten_card_heading()}

{#if canWrite} {m.geschichten_card_write_action()} diff --git a/frontend/src/routes/geschichten/[id]/+page.svelte b/frontend/src/routes/geschichten/[id]/+page.svelte index e96af176..f7ba5541 100644 --- a/frontend/src/routes/geschichten/[id]/+page.svelte +++ b/frontend/src/routes/geschichten/[id]/+page.svelte @@ -58,8 +58,17 @@ async function handleDelete() {

-
- + +
{@html sanitized}
@@ -68,7 +77,7 @@ async function handleDelete() { {#if g.persons && g.persons.length > 0}
-

+

{m.geschichten_persons_section()}

    @@ -89,7 +98,7 @@ async function handleDelete() { {#if g.documents && g.documents.length > 0}
    -

    +

    {m.geschichten_documents_section()}