add whitespace-pre-line for tickets

This commit is contained in:
hamid zarghami
2025-12-02 10:08:50 +03:30
parent d150b7c430
commit e8a6b54022
+2 -2
View File
@@ -126,7 +126,7 @@ const TicketDetail: FC = () => {
if (item?.author?.roles[0]?.name === 'user') {
return (
<div key={item.id} className='mt-6 xl:text-sm text-xs bg-[#F6F7FA] p-6 rounded-3xl rounded-tr-none xl:max-w-[70%] max-w-[90%]'>
<div className='leading-7'>
<div className='leading-7 whitespace-pre-line'>
{item.content}
</div>
<div className='flex dltr end mt-6 text-xs text-description'>
@@ -159,7 +159,7 @@ const TicketDetail: FC = () => {
</div>
<div>{item.author?.firstName + ' ' + item?.author?.lastName}</div>
</div>
<div className='leading-7 mt-4'>
<div className='leading-7 mt-4 whitespace-pre-line'>
{item.content}
</div>
<div className='flex dltr mt-6 text-xs text-description'>