subject in mobile and date and time in detil email
This commit is contained in:
@@ -148,15 +148,19 @@ const DetailEmail: FC = () => {
|
||||
|
||||
<div className='mt-6 flex xl:flex-row flex-col justify-between xl:items-center'>
|
||||
<div className='flex xl:flex-row flex-col-reverse gap-4 xl:items-center'>
|
||||
<div className='flex gap-1 items-center'>
|
||||
<div className='font-extralight hidden xl:block'>{t('mail.subject')}</div>
|
||||
<div className='flex gap-1 items-start'>
|
||||
<div className='font-extralight '>{t('mail.subject')}</div>
|
||||
<div className='leading-7 text-sm'>{messageDetail.subject || 'بدون موضوع'}</div>
|
||||
</div>
|
||||
<div className='flex gap-2'>
|
||||
<div className='flex gap-2 justify-between w-full items-center'>
|
||||
<Button
|
||||
label={t(`mail.${messageDetail?.mailboxName}`)}
|
||||
className='bg-[#ECEFF6] text-description w-fit px-6 rounded-full h-6 xl:h-10 text-[10px] xl:text-sm'
|
||||
/>
|
||||
|
||||
<div className='lg:hidden flex justify-end text-description xl:text-sm text-[10px]'>
|
||||
{formatDate(messageDetail.date)}
|
||||
</div>
|
||||
{/* <Button
|
||||
label='الویت زیاد'
|
||||
className='bg-[#FFE9E9] text-[#CD0000] w-fit px-6 rounded-full h-6 xl:h-10 text-[10px] xl:text-sm'
|
||||
@@ -164,7 +168,7 @@ const DetailEmail: FC = () => {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className='flex justify-end text-description xl:text-sm text-[10px]'>
|
||||
<div className='lg:flex hidden justify-end text-description xl:text-sm text-[10px]'>
|
||||
{formatDate(messageDetail.date)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user