Skip to content

Commit 4db73ec

Browse files
Restore hover styling for composer command items
- Keep highlighted menu items visually stable on hover - Preserve active item accent styling
1 parent 7b60351 commit 4db73ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/web/src/components/chat/ComposerCommandMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ const ComposerCommandMenuItem = memo(function ComposerCommandMenuItem(props: {
103103
value={props.item.id}
104104
data-composer-item-id={props.item.id}
105105
className={cn(
106-
"cursor-pointer select-none gap-2 data-highlighted:bg-transparent data-highlighted:text-inherit",
106+
"cursor-pointer select-none gap-2 hover:bg-transparent hover:text-inherit data-highlighted:bg-transparent data-highlighted:text-inherit",
107107
props.isActive && "bg-accent! text-accent-foreground!",
108108
)}
109109
onMouseMove={() => {

0 commit comments

Comments
 (0)