Refactor ProjectForm component to add tag overflow handling

This commit is contained in:
Pattadon 2024-10-21 11:23:45 +07:00
parent cbe387172a
commit df9e810d94

View File

@ -489,7 +489,7 @@ const ProjectForm = ({
variant="outline"
role="combobox"
aria-expanded={open}
className="w-96 justify-between"
className="w-96 justify-between overflow-hidden text-ellipsis whitespace-nowrap"
>
{selectedTag.length > 0
? selectedTag.join(", ")