diff --git a/frontend/src/component/user/UserProfile/UserProfileContent/UserProfileContent.tsx b/frontend/src/component/user/UserProfile/UserProfileContent/UserProfileContent.tsx index 199e8b7673..6a882da35a 100644 --- a/frontend/src/component/user/UserProfile/UserProfileContent/UserProfileContent.tsx +++ b/frontend/src/component/user/UserProfile/UserProfileContent/UserProfileContent.tsx @@ -38,6 +38,10 @@ const StyledUserAvatar = styled(UserAvatar)(({ theme }) => ({ const StyledSubtitle = styled(Typography)(({ theme }) => ({ color: theme.palette.text.secondary, + overflow: 'hidden', + textOverflow: 'ellipsis', + whiteSpace: 'nowrap', + maxWidth: theme.spacing(35), })); const StyledLink = styled(Link)(({ theme }) => ({ @@ -94,7 +98,7 @@ export const UserProfileContent = ({ {profile.name || profile.username} - + {profile.email}