Skip to content

Commit 85a4ad1

Browse files
committed
The Select component’s shortcut has a better hover state
1 parent f683a09 commit 85a4ad1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

apps/webapp/app/components/primitives/Select.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,11 @@ export function SelectItem({
482482
<div className="grow truncate">{props.children || props.value}</div>
483483
{checkIcon}
484484
{shortcut && (
485-
<ShortcutKey className={cn("size-4 flex-none")} shortcut={shortcut} variant={"small"} />
485+
<ShortcutKey
486+
className={cn("size-4 flex-none transition duration-0 group-hover:border-charcoal-600")}
487+
shortcut={shortcut}
488+
variant={"small"}
489+
/>
486490
)}
487491
</div>
488492
</Ariakit.SelectItem>

0 commit comments

Comments
 (0)