From 2d300fe8d3a08ba1f42a2ed1d2ff0f732971b9bf Mon Sep 17 00:00:00 2001 From: luiqor Date: Wed, 20 Nov 2024 12:29:26 +0200 Subject: [PATCH] fix long names spilling outside container on profile page --- .../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 02261377f..a6b3f3b9c 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' }