Settings: truncate long usernames

This commit is contained in:
Alex Gleason 2023-05-02 12:50:55 -05:00
parent 6aabad9df3
commit 9776cc9623
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -74,7 +74,7 @@ const Settings = () => {
<CardBody> <CardBody>
<List> <List>
<ListItem label={intl.formatMessage(messages.editProfile)} onClick={navigateToEditProfile}> <ListItem label={intl.formatMessage(messages.editProfile)} onClick={navigateToEditProfile}>
<span>{displayName}</span> <span className='max-w-full truncate'>{displayName}</span>
</ListItem> </ListItem>
</List> </List>
</CardBody> </CardBody>