add whitespace-pre-line for tickets
This commit is contained in:
@@ -126,7 +126,7 @@ const TicketDetail: FC = () => {
|
|||||||
if (item?.author?.roles[0]?.name === 'user') {
|
if (item?.author?.roles[0]?.name === 'user') {
|
||||||
return (
|
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 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}
|
{item.content}
|
||||||
</div>
|
</div>
|
||||||
<div className='flex dltr end mt-6 text-xs text-description'>
|
<div className='flex dltr end mt-6 text-xs text-description'>
|
||||||
@@ -159,7 +159,7 @@ const TicketDetail: FC = () => {
|
|||||||
</div>
|
</div>
|
||||||
<div>{item.author?.firstName + ' ' + item?.author?.lastName}</div>
|
<div>{item.author?.firstName + ' ' + item?.author?.lastName}</div>
|
||||||
</div>
|
</div>
|
||||||
<div className='leading-7 mt-4'>
|
<div className='leading-7 mt-4 whitespace-pre-line'>
|
||||||
{item.content}
|
{item.content}
|
||||||
</div>
|
</div>
|
||||||
<div className='flex dltr mt-6 text-xs text-description'>
|
<div className='flex dltr mt-6 text-xs text-description'>
|
||||||
|
|||||||
Reference in New Issue
Block a user