fix(ui): add pointer cursors to repair evidence and multi-select controls
This commit is contained in:
@@ -88,7 +88,12 @@ export function MultiSelectPopover({
|
||||
return (
|
||||
<Popover>
|
||||
<PopoverTrigger asChild>
|
||||
<Button type="button" variant="outline" size="sm" className="shadow-none">
|
||||
<Button
|
||||
type="button"
|
||||
variant="outline"
|
||||
size="sm"
|
||||
className="shadow-none"
|
||||
>
|
||||
{icon}
|
||||
{label}
|
||||
<Badge variant="secondary">{values.length}</Badge>
|
||||
@@ -101,7 +106,7 @@ export function MultiSelectPopover({
|
||||
type="button"
|
||||
onClick={toggleAll}
|
||||
aria-label={`Toggle all ${label}`}
|
||||
className="shrink-0 rounded-md p-0.5 hover:bg-muted"
|
||||
className="shrink-0 cursor-pointer rounded-md p-0.5 hover:bg-muted"
|
||||
>
|
||||
<span className={checkboxClass(areAllSelected)}>
|
||||
{areAllSelected ? <Check className="size-3" /> : null}
|
||||
@@ -130,7 +135,7 @@ export function MultiSelectPopover({
|
||||
disabled={option.disabled}
|
||||
onClick={() => toggleValue(option.value)}
|
||||
className={cn(
|
||||
'flex min-w-0 flex-1 items-center gap-2 text-left',
|
||||
'flex min-w-0 flex-1 cursor-pointer items-center gap-2 text-left',
|
||||
option.disabled && 'cursor-not-allowed opacity-60',
|
||||
)}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user