Skip to content

Commit

Permalink
[WEB-494] fix: selected label indicator are not showing up on the iss…
Browse files Browse the repository at this point in the history
…ue create modal. (#3752)
  • Loading branch information
prateekshourya29 authored Feb 22, 2024
1 parent e924170 commit 02182e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions web/components/issues/select/label.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,22 +154,22 @@ export const IssueLabelSelect: React.FC<Props> = observer((props) => {
className={({ active }) =>
`${
active ? "bg-custom-background-80" : ""
} group flex min-w-[14rem] cursor-pointer select-none items-center gap-2 truncate rounded px-1 py-1.5 text-custom-text-200`
} group flex w-full cursor-pointer select-none items-center gap-2 truncate rounded px-1 py-1.5 text-custom-text-200`
}
value={label.id}
>
{({ selected }) => (
<div className="flex w-full justify-between gap-2 rounded">
<div className="flex items-center justify-start gap-2">
<div className="flex items-center justify-start gap-2 truncate">
<span
className="h-2.5 w-2.5 flex-shrink-0 rounded-full"
style={{
backgroundColor: label.color,
}}
/>
<span>{label.name}</span>
<span className="truncate">{label.name}</span>
</div>
<div className="flex items-center justify-center rounded p-1">
<div className="flex shrink-0 items-center justify-center rounded p-1">
<Check className={`h-3 w-3 ${selected ? "opacity-100" : "opacity-0"}`} />
</div>
</div>
Expand Down

0 comments on commit 02182e0

Please sign in to comment.