From ceaa991eb5b9348793244f83834ade8a5664e237 Mon Sep 17 00:00:00 2001 From: Diana Vashchilina Date: Fri, 22 Nov 2024 18:08:03 +0200 Subject: [PATCH] fix long names spilling outside container on profile page (#2809) --- .../user-profile/profile-info/ProfileInfo.styles.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/containers/user-profile/profile-info/ProfileInfo.styles.js b/src/containers/user-profile/profile-info/ProfileInfo.styles.js index 29e98ca10..c1d948070 100644 --- a/src/containers/user-profile/profile-info/ProfileInfo.styles.js +++ b/src/containers/user-profile/profile-info/ProfileInfo.styles.js @@ -67,7 +67,10 @@ export const styles = { }, title: { typography: { xs: 'button', sm: 'h5', md: 'h4' }, - mb: 1 + mb: 1, + whiteSpace: 'normal', + wordBreak: 'break-all', + maxWidth: '95%' }, description: { typography: { xs: 'body2', md: 'button' },