Skip to content

Commit

Permalink
chore: attachments tab in mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
shariquerik committed Oct 21, 2024
1 parent 64d8e86 commit 1a67cc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions frontend/src/components/Activities/Activities.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/Activities/TaskArea.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit 1a67cc9

Please sign in to comment.