From e1d21adc9f4a72537ca07458fc5690e6613bf5b4 Mon Sep 17 00:00:00 2001 From: Mateusz Kwasniewski Date: Thu, 23 Oct 2025 08:50:49 +0200 Subject: [PATCH] fix: long descriptions (#10845) --- .../common/Table/cells/LinkCell/LinkCell.styles.ts | 1 + .../__tests__/__snapshots__/TagTypeList.test.tsx.snap | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/frontend/src/component/common/Table/cells/LinkCell/LinkCell.styles.ts b/frontend/src/component/common/Table/cells/LinkCell/LinkCell.styles.ts index 1b5c7bed3f..780a940180 100644 --- a/frontend/src/component/common/Table/cells/LinkCell/LinkCell.styles.ts +++ b/frontend/src/component/common/Table/cells/LinkCell/LinkCell.styles.ts @@ -43,4 +43,5 @@ export const StyledDescription = styled('span')(({ theme }) => ({ textOverflow: 'ellipsis', display: '-webkit-box', WebkitBoxOrient: 'vertical', + wordBreak: 'break-word', })); diff --git a/frontend/src/component/tags/TagTypeList/__tests__/__snapshots__/TagTypeList.test.tsx.snap b/frontend/src/component/tags/TagTypeList/__tests__/__snapshots__/TagTypeList.test.tsx.snap index 83bc52ef67..fb8c5b179f 100644 --- a/frontend/src/component/tags/TagTypeList/__tests__/__snapshots__/TagTypeList.test.tsx.snap +++ b/frontend/src/component/tags/TagTypeList/__tests__/__snapshots__/TagTypeList.test.tsx.snap @@ -292,7 +292,7 @@ exports[`renders an empty list correctly 1`] = ` Tag type description when loading @@ -471,7 +471,7 @@ exports[`renders an empty list correctly 1`] = ` Tag type description when loading @@ -650,7 +650,7 @@ exports[`renders an empty list correctly 1`] = ` Tag type description when loading @@ -829,7 +829,7 @@ exports[`renders an empty list correctly 1`] = ` Tag type description when loading @@ -1008,7 +1008,7 @@ exports[`renders an empty list correctly 1`] = ` Tag type description when loading