1
0
forked from test/crm

chore: attachments tab in mobile view

This commit is contained in:
Shariq Ansari 2024-10-21 21:25:45 +05:30
parent 64d8e8655a
commit 1a67cc9d98
2 changed files with 4 additions and 7 deletions

View File

@ -63,10 +63,7 @@
</div>
</div>
</div>
<div
v-else-if="title == 'Tasks'"
class="px-3 pb-3 sm:px-10 sm:pb-5 overflow-x-auto sm:w-full w-max"
>
<div v-else-if="title == 'Tasks'" class="px-3 pb-3 sm:px-10 sm:pb-5">
<TaskArea :modalRef="modalRef" :tasks="activities" :doctype="doctype" />
</div>
<div v-else-if="title == 'Calls'" class="activity">
@ -100,7 +97,7 @@
</div>
<div
v-else-if="title == 'Attachments'"
class="px-3 pb-3 sm:px-10 sm:pb-5 overflow-x-auto sm:w-full w-max"
class="px-3 pb-3 sm:px-10 sm:pb-5"
>
<AttachmentArea
:attachments="activities"

View File

@ -5,8 +5,8 @@
class="activity flex cursor-pointer gap-6 rounded p-2.5 duration-300 ease-in-out hover:bg-gray-50"
@click="modalRef.showTask(task)"
>
<div class="flex flex-1 flex-col gap-1.5 text-base">
<div class="font-medium text-gray-900">
<div class="flex flex-1 flex-col gap-1.5 text-base truncate">
<div class="font-medium text-gray-900 truncate">
{{ task.title }}
</div>
<div class="flex gap-1.5 text-gray-800">