Modal: truncate long title

This commit is contained in:
Alex Gleason 2023-05-02 13:14:45 -05:00
parent ac9653a89f
commit 9f2540c5c3
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -102,7 +102,7 @@ const Modal = React.forwardRef<HTMLDivElement, IModal>(({
'flex-row-reverse': closePosition === 'left',
})}
>
<h3 className='grow text-lg font-bold leading-6 text-gray-900 dark:text-white'>
<h3 className='grow truncate text-lg font-bold leading-6 text-gray-900 dark:text-white'>
{title}
</h3>