Title the illness page as the navigation names it

The page called itself 'Krankheitstagebuch' while the navigation says
'Krankheit', and at 390 px the long word broke with a hyphen beside the
header actions. The title now reads the navigation label in every
locale.
This commit is contained in:
Marc-André Bombeck committed 2026-10-08 18:39:30 +02:00
1 parent d867c4bf83
commit 2b91953cc9
8 files changed
+10 -10

No files matched your search

+3 -3
View File
@@ -27,9 +27,9 @@ import { cn } from "@/lib/utils";
* they drifted apart from every module page in the first place.
*/
/**
* A one-word German title ("Krankheitstagebuch") is wider than the column a
* phone leaves beside the actions, and without a break opportunity it ran
* underneath them. `hyphens-auto` breaks it by the page's `lang`; the
* A long one-word German title (the illness page was once
* "Krankheitstagebuch") is wider than the column a phone leaves beside the
* actions, and without a break opportunity it ran underneath them. `hyphens-auto` breaks it by the page's `lang`; the
* `wrap-break-word` floor covers a word the hyphenation dictionary does not.
*/
const HEADING_CLASS =