Add truncation to notification descriptor
This commit is contained in:
parent
3a0b88bb37
commit
136a6c99bf
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
import React from 'react';
|
||||
import { HotKeys } from 'react-hotkeys';
|
||||
import { FormattedMessage, useIntl } from 'react-intl';
|
||||
import { FormattedMessage, useIntl } from 'react-intl';
|
||||
import { useHistory } from 'react-router-dom';
|
||||
|
||||
import Icon from '../../../components/icon';
|
||||
|
@ -286,10 +286,11 @@ const Notification: React.FC<INotificaton> = (props) => {
|
|||
<HStack alignItems='center' space={1.5}>
|
||||
{renderIcon()}
|
||||
|
||||
<div>
|
||||
<div className='truncate'>
|
||||
<Text
|
||||
theme='muted'
|
||||
size='sm'
|
||||
truncate
|
||||
>
|
||||
{message}
|
||||
</Text>
|
||||
|
|
Loading…
Reference in a new issue