forked from github/plane
style: assignee dropdown stlye fix
This commit is contained in:
parent
217d6ea51c
commit
9a52031d59
@ -76,12 +76,12 @@ export const IssueAssigneeSelect: FC<IssueAssigneeSelectProps> = ({
|
|||||||
>
|
>
|
||||||
<span className="flex justify-center items-center text-xs">
|
<span className="flex justify-center items-center text-xs">
|
||||||
{value && value.length > 0 && Array.isArray(value) ? (
|
{value && value.length > 0 && Array.isArray(value) ? (
|
||||||
<span className="flex items-center justify-center gap-1 px-3 py-1">
|
<span className="flex items-center justify-center gap-2 px-3 py-1">
|
||||||
<AssigneesList userIds={value} length={3} showLength={false} />
|
<AssigneesList userIds={value} length={3} showLength={false} />
|
||||||
<span className=" text-[#495057]">{value.length} Assignees</span>
|
<span className=" text-[#495057]">{value.length} Assignees</span>
|
||||||
</span>
|
</span>
|
||||||
) : (
|
) : (
|
||||||
<span className="flex items-center justify-center gap-1 px-3 py-1.5">
|
<span className="flex items-center justify-center gap-2 px-3 py-1.5">
|
||||||
<UserGroupIcon className="h-4 w-4 text-gray-500 " />
|
<UserGroupIcon className="h-4 w-4 text-gray-500 " />
|
||||||
<span className=" text-[#858E96]">Assignee</span>
|
<span className=" text-[#858E96]">Assignee</span>
|
||||||
</span>
|
</span>
|
||||||
@ -116,10 +116,10 @@ export const IssueAssigneeSelect: FC<IssueAssigneeSelectProps> = ({
|
|||||||
filteredOptions.map((option) => (
|
filteredOptions.map((option) => (
|
||||||
<Combobox.Option
|
<Combobox.Option
|
||||||
key={option.value}
|
key={option.value}
|
||||||
className={({ active, selected }) =>
|
className={({ active }) =>
|
||||||
`${
|
`${
|
||||||
active ? "bg-[#E9ECEF]" : ""
|
active ? "bg-[#E9ECEF]" : ""
|
||||||
} group flex cursor-pointer select-none items-center gap-2 truncate rounded px-1 py-1.5 text-gray-900`
|
} group flex min-w-[14rem] cursor-pointer select-none items-center gap-2 truncate rounded px-1 py-1.5 text-[#495057]`
|
||||||
}
|
}
|
||||||
value={option.value}
|
value={option.value}
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user