From d01a804ceac0cd1f340192df343834d64924cea9 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 7 Oct 2026 15:27:06 +0000 Subject: [PATCH] =?UTF-8?q?Kontrolle:=20Projektname=20in=20der=20Projektli?= =?UTF-8?q?ste=20beh=C3=A4lt=20overflow-wrap=20anywhere?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mit break-word weitete ein langer Projektname ohne Umbruchstelle die Seite auf (Handy 390 px); nur Beträge und Nebenzeilen wechseln zu break-word und nowrap. Co-Authored-By: Claude Sonnet 5.5 --- src/components/auftraege/projektkonto.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/auftraege/projektkonto.css b/src/components/auftraege/projektkonto.css index d1d7b6a..7c38af1 100644 --- a/src/components/auftraege/projektkonto.css +++ b/src/components/auftraege/projektkonto.css @@ -3,7 +3,8 @@ .pk { container-type: inline-size; } .pk .pk-hinweis { margin: 0 0 8px; } .pk .pk-table th, .pk .pk-table td { vertical-align: top; } -.pk .pk-name, .pk .pk-table td .cell-sub { overflow-wrap: break-word; } +.pk .pk-name { overflow-wrap: anywhere; } /* lange Projektnamen ohne Umbruchstelle dürfen die Spalte nie aufweiten */ +.pk .pk-table td .cell-sub { overflow-wrap: break-word; } /* Beträge und Stunden brechen nie um: das € bleibt am Betrag */ .pk .pk-table .num, .pk .pk-berechnet .cell-sub, .pk .pk-zeit .cell-sub { white-space: nowrap; } .pk .pk-table .num { font-variant-numeric: tabular-nums; }