From 54f52f077cc4c9fffc7a9332ee3a8a4bdd29775a Mon Sep 17 00:00:00 2001 From: Nathnael Date: Wed, 19 Aug 2026 10:12:16 +0000 Subject: [PATCH] fix(page-header): cap title/subtitle width Title and subtitle grew unbounded, relying only on flex-squeeze from action buttons to ever truncate. Caps the container at 640px and gives the subtitle the same truncate treatment the title already had, so a long page title or description (report descriptions in particular) always ellipses instead of stretching the header. --- .../backoffice/src/components/page/PageHeader.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/edr-freight-web/backoffice/src/components/page/PageHeader.tsx b/apps/edr-freight-web/backoffice/src/components/page/PageHeader.tsx index 803d3f5f7..86beb22fb 100644 --- a/apps/edr-freight-web/backoffice/src/components/page/PageHeader.tsx +++ b/apps/edr-freight-web/backoffice/src/components/page/PageHeader.tsx @@ -50,15 +50,15 @@ export function PageHeader({ ) : null} -
+
- + <Title order={2} className="truncate" style={{ minWidth: 0 }}> {title} {meta} {subtitle ? ( - + {subtitle} ) : null}