Merge branch 'truncate-notification-name' into 'develop'

Add truncation to notification descriptor

Closes #944

See merge request soapbox-pub/soapbox-fe!1336
api-accept
Justin 2022-05-09 14:46:23 +00:00
commit abc1b4fa16
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -286,10 +286,11 @@ const Notification: React.FC<INotificaton> = (props) => {
<HStack alignItems='center' space={1.5}> <HStack alignItems='center' space={1.5}>
{renderIcon()} {renderIcon()}
<div> <div className='truncate'>
<Text <Text
theme='muted' theme='muted'
size='sm' size='sm'
truncate
> >
{message} {message}
</Text> </Text>