kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Merge branch 'truncate-notification-name' into 'develop'
Add truncation to notification descriptor Closes #944 See merge request soapbox-pub/soapbox-fe!1336api-accept
commit
abc1b4fa16
|
@ -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>
|
||||||
|
|
Ładowanie…
Reference in New Issue