Skip to content

A self-hosted media server and file management system

fix: task card layers

aminnausin10a955722de2
diff --git a/resources/js/components/cards/data/SubTaskCard.vue b/resources/js/components/cards/data/SubTaskCard.vue
index be9adf92..a2ef59f6 100644
--- a/resources/js/components/cards/data/SubTaskCard.vue
+++ b/resources/js/components/cards/data/SubTaskCard.vue
@@ -15,9 +15,9 @@ const emit = defineEmits(['clickAction']);
</script>
<template>
- <span class="flex w-full rounded-xl text-left">
- <section class="data-card hover:ring-primary-active flex flex-1 flex-wrap items-center gap-4 truncate rounded-md p-3 shadow-xs ring-1 ring-gray-900/5 ring-inset">
- <div class="group text-foreground-1 relative flex flex-1 flex-col gap-1 truncate">
+ <span class="flex w-full text-left">
+ <div class="data-card hover:ring-primary-active flex flex-1 flex-wrap items-center gap-4 rounded-xl p-3 shadow-xs ring-1 ring-gray-900/5 ring-inset">
+ <div class="group text-foreground-1 flex min-w-16 flex-1 flex-col gap-1">
<HoverCard :contentTitle="data.name" :content="data.summary?.trim()" class="flex items-center gap-x-4 gap-y-2 truncate">
<template #trigger>
<h2 class="group text-foreground-0 truncate capitalize">{{ data.id }} - {{ data.name }}</h2>
@@ -90,7 +90,7 @@ const emit = defineEmits(['clickAction']);
<template #icon> <ProiconsDelete class="size-4" /></template>
</ButtonIcon>
</div>
- </section>
+ </div>
<ProiconsArrowReply class="mx-2 my-auto hidden size-6 shrink-0 -scale-y-100 sm:block" />
</span>
</template>
diff --git a/resources/js/components/cards/data/TaskCard.vue b/resources/js/components/cards/data/TaskCard.vue
index 20eca924..5db60391 100644
--- a/resources/js/components/cards/data/TaskCard.vue
+++ b/resources/js/components/cards/data/TaskCard.vue
@@ -77,8 +77,8 @@ watch(
</script>
<template>
<div class="dark:bg-primary-dark-800/50 bg-primary-800 flex w-full flex-col rounded-xl text-left text-xs shadow-sm ring-1 ring-gray-900/5">
- <section class="data-card flex w-full flex-wrap items-center gap-4 rounded-xl p-3 ring-1 ring-gray-900/5">
- <div class="text-foreground-1 relative flex flex-1 flex-col gap-2 sm:gap-1">
+ <div class="data-card flex w-full flex-wrap items-center gap-4 rounded-xl p-3 ring-1 ring-gray-900/5">
+ <div class="text-foreground-1 flex flex-1 flex-col gap-2 sm:gap-1">
<HoverCard :content="data.description" :content-title="data.name" class="flex items-center gap-x-4 gap-y-2">
<template #trigger>
<h2 class="group text-foreground-0 line-clamp-1 text-base capitalize">{{ data.id }} - {{ data.name }}</h2>
@@ -262,9 +262,9 @@ watch(
</ButtonIcon>
</div>
</div>
- </section>
+ </div>
- <section
+ <div
:class="[
'scrollbar-hide flex flex-col gap-1 rounded-xl px-1 transition-all duration-300 ease-in-out',
expanded ? `max-h-200 overflow-y-auto py-1` : 'max-h-0 overflow-hidden',
@@ -288,7 +288,7 @@ watch(
"
no-results-message="No Sub Tasks Found"
/>
- </section>
+ </div>
</div>
</template>