add virtualizer to ProjectTaskDropdown component to handle bigger

project lists
This commit is contained in:
Gregor Vostrak
2026-06-29 15:56:56 +02:00
parent 2207f676ee
commit 95bfb45978
8 changed files with 463 additions and 154 deletions

View File

@@ -9,9 +9,9 @@ defineProps<{
<template>
<div
class="flex justify-between items-center w-full text-start text-sm font-medium leading-5 text-text-primary hover:bg-card-background-active focus:outline-none focus:bg-card-background-active transition duration-150 ease-in-out">
<div class="flex space-x-3 items-center px-3 py-1.5">
<div :style="{ backgroundColor: color }" class="w-3 h-3 rounded-full"></div>
<span>{{ name }}</span>
<div class="flex space-x-3 items-center px-3 py-1.5 min-w-0">
<div :style="{ backgroundColor: color }" class="w-3 h-3 rounded-full shrink-0"></div>
<span class="truncate">{{ name }}</span>
</div>
<slot name="actions"></slot>
</div>