From 627fcfbfde517317283768d59d4ccceed00ba376 Mon Sep 17 00:00:00 2001 From: estifanos Date: Fri, 28 Aug 2026 08:18:19 +0000 Subject: [PATCH] UI fixes --- .../documents/pages/DocumentVaultPage.tsx | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/apps/portal/src/app/features/documents/pages/DocumentVaultPage.tsx b/apps/portal/src/app/features/documents/pages/DocumentVaultPage.tsx index d7605054a..82313ad9c 100644 --- a/apps/portal/src/app/features/documents/pages/DocumentVaultPage.tsx +++ b/apps/portal/src/app/features/documents/pages/DocumentVaultPage.tsx @@ -153,7 +153,7 @@ function IssuedDocumentCard({ - + {t(`documents.documentStatus.${document.status}`, { defaultValue: document.status })} @@ -277,7 +277,10 @@ export function DocumentVaultPage() { {t('documents.empty.licenses')} ) : ( - + // Two per row, not three: licence type names run long + // ("Multimodal Transport Operator License") and a third + // column truncates them. + {licenceItems.map((licence) => ( - + {t(`seaRecords.columns.recordStatus.${record.status}`, { defaultValue: record.status, })} @@ -390,7 +398,12 @@ export function DocumentVaultPage() { )} - + {t(`seaRecords.columns.recordStatus.${record.status}`, { defaultValue: record.status, })} @@ -488,6 +501,7 @@ export function DocumentVaultPage() { size="sm" variant="light" color={files.length ? 'teal' : slot.isRequired ? 'orange' : 'gray'} + style={{ flexShrink: 0 }} > {files.length ? t('documents.personal.uploaded')