Skip to content

Commit

Permalink
fix MultiSelectComboBox placeholder color
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian-ubs committed Dec 11, 2024
1 parent aaa1b44 commit 7ceaa0e
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ function MultiSelectComboBox({
className={cn(
'tw-w-full tw-justify-between',
selected.length > 0 && selected.length < entries.length && 'tw-border-primary',
'tw-group',
)}
>
<div className="tw-flex tw-items-center tw-gap-2">
Expand All @@ -97,9 +98,10 @@ function MultiSelectComboBox({
</span>
</div>
<div
className={cn(
(selected.length === 0 || selected.length === entries.length) && 'tw-text-muted',
)}
className={cn({
'tw-text-muted-foreground group-hover:tw-text-secondary-foreground':
selected.length === 0 || selected.length === entries.length,
})}
>
{getPlaceholderText()}
</div>
Expand Down

0 comments on commit 7ceaa0e

Please sign in to comment.