item spacing

This commit is contained in:
Nate Kelley 2025-10-01 10:21:06 -06:00
parent 1d182ede3e
commit f5729f3323
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
1 changed files with 1 additions and 2 deletions

View File

@ -23,7 +23,6 @@ export function MentionListItem<T = string>({
containerRef.current.scrollIntoView({
behavior: 'instant',
block: 'nearest',
inline: 'nearest',
});
}
}, [isSelected, listRef]);
@ -38,7 +37,7 @@ export function MentionListItem<T = string>({
data-selected={isSelected}
className={cn(
'group/mention-list-item',
'flex items-center justify-between gap-x-1.5 overflow-hidden',
'flex items-center justify-between gap-x-1.5 overflow-hidden flex-shrink-0',
`cursor-pointer px-2.5 min-h-8 text-base rounded transition-all duration-100`,
'data-[selected=true]:bg-item-hover'
)}