From 69fcb572effb1f775d54698abb42a9da787c408c Mon Sep 17 00:00:00 2001 From: Mateusz Kwasniewski Date: Mon, 21 Oct 2024 15:10:20 +0200 Subject: [PATCH] fix: break words first, break all second (#8495) --- .../src/component/personalDashboard/LatestProjectEvents.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/component/personalDashboard/LatestProjectEvents.tsx b/frontend/src/component/personalDashboard/LatestProjectEvents.tsx index 89fdbbf7ec..c345042b0e 100644 --- a/frontend/src/component/personalDashboard/LatestProjectEvents.tsx +++ b/frontend/src/component/personalDashboard/LatestProjectEvents.tsx @@ -44,9 +44,9 @@ const StyledUserAvatar = styled(UserAvatar)(({ theme }) => ({ marginTop: theme.spacing(0.5), })); -const StyledMarkdown = styled(Markdown)(({ theme }) => ({ - wordBreak: 'break-all', -})); +const StyledMarkdown = styled(Markdown)({ + overflowWrap: 'anywhere', +}); export const LatestProjectEvents: FC<{ latestEvents: PersonalDashboardProjectDetailsSchema['latestEvents'];