mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 13:52:20 +00:00
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:
1 parent
d867c4bf83
commit
2b91953cc9
8 files changed
+10
-10
No files matched your search
@@ -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 =
|
||||
|
||||
Reference in new issue
Block a user