Skip to content

A self-hosted media server and file management system

size

aminnausin7826b4df95c7
diff --git a/resources/js/components/cards/SubTaskCard.vue b/resources/js/components/cards/SubTaskCard.vue
index 71a3811b..a1daa6e4 100644
--- a/resources/js/components/cards/SubTaskCard.vue
+++ b/resources/js/components/cards/SubTaskCard.vue
@@ -38,7 +38,7 @@ const props = defineProps<{ data: SubTaskResource }>();
</p>
<div
v-if="(data.summary?.length ?? 0) > 0"
- class="flex z-30 left-20 bottom-10 absolute opacity-0 group-hover:opacity-100 transition-opacity ease-in-out duration-500 w-1/2 text-sm p-3 bg-white dark:odd:bg-primary-dark-600/70 dark:bg-neutral-800/70 backdrop-blur-lg border dark:border-none rounded-md shadow-md border-neutral-200/70 gap-2 items-center"
+ class="flex z-30 left-20 bottom-10 absolute opacity-0 group-hover:opacity-100 transition-opacity ease-in-out duration-500 md:max-w-72 text-sm p-3 bg-white dark:odd:bg-primary-dark-600/70 dark:bg-neutral-800/70 backdrop-blur-lg border dark:border-none rounded-md shadow-md border-neutral-200/70 gap-2 items-center"
>
<ProiconsCommentExclamation class="h-4 w-4" />
<p class="text-wrap">{{ data.summary }}</p>
@@ -73,34 +73,6 @@ const props = defineProps<{ data: SubTaskResource }>();
</div>
</div>
- <!-- <td>
- <PulseDoughnutChart
- class="!h-8 !w-8"
- :chart-options="{
- borderWidth: 0,
- plugins: {
- legend: {
- display: false,
- },
- tooltip: {
- enabled: false,
- displayColors: false,
- },
- },
- }"
- :chart-data="{
- labels: ['Pending', 'Completed', 'Failed'],
- datasets: [
- {
- data: [data.sub_tasks_pending, data.sub_tasks_complete, data.sub_tasks_failed],
- backgroundColor: ['#c084fc30', '#9333ea', '#be123c'],
- hoverBackgroundColor: ['#c084fc30', '#9333ea', '#e11d48'],
- },
- ],
- }"
- />
- </td> -->
-
<div class="flex gap-1 items-center">
<PulseDoughnutChart
class="!h-6 !w-6 lg:!hidden"
diff --git a/resources/js/components/cards/TaskCard.vue b/resources/js/components/cards/TaskCard.vue
index 7b820049..fe5c6f70 100644
--- a/resources/js/components/cards/TaskCard.vue
+++ b/resources/js/components/cards/TaskCard.vue
@@ -35,7 +35,7 @@ const expanded = ref(false);
{{ data.name }}
<div
v-if="(data.description?.length ?? 0) > 0"
- class="flex z-30 left-20 bottom-10 absolute opacity-0 group-hover:opacity-100 transition-opacity ease-in-out duration-500 w-1/2 text-sm p-3 bg-white dark:odd:bg-primary-dark-600/70 dark:bg-neutral-800/70 backdrop-blur-lg border dark:border-none rounded-md shadow-md border-neutral-200/70 gap-2 items-center"
+ class="flex z-30 left-20 bottom-10 absolute opacity-0 group-hover:opacity-100 transition-opacity ease-in-out duration-500 md:max-w-72 text-sm p-3 bg-white dark:odd:bg-primary-dark-600/70 dark:bg-neutral-800/70 backdrop-blur-lg border dark:border-none rounded-md shadow-md border-neutral-200/70 gap-2 items-center"
>
<ProiconsCommentExclamation class="h-4 w-4" />
<p class="text-wrap">{{ data.description }}</p>
@@ -101,34 +101,6 @@ const expanded = ref(false);
</div>
</div>
- <!-- <td>
- <PulseDoughnutChart
- class="!h-8 !w-8"
- :chart-options="{
- borderWidth: 0,
- plugins: {
- legend: {
- display: false,
- },
- tooltip: {
- enabled: false,
- displayColors: false,
- },
- },
- }"
- :chart-data="{
- labels: ['Pending', 'Completed', 'Failed'],
- datasets: [
- {
- data: [data.sub_tasks_pending, data.sub_tasks_complete, data.sub_tasks_failed],
- backgroundColor: ['#c084fc30', '#9333ea', '#be123c'],
- hoverBackgroundColor: ['#c084fc30', '#9333ea', '#e11d48'],
- },
- ],
- }"
- />
- </td> -->
-
<div class="flex items-center gap-2 w-full md:w-fit">
<PulseDoughnutChart
class="!h-8 !w-8 md:!hidden"