|
|
@ -246,7 +246,7 @@ export function AITermSuggestionInput(props: AITermSuggestionInputProps) { |
|
|
|
key={result?._id} |
|
|
|
key={result?._id} |
|
|
|
type="button" |
|
|
|
type="button" |
|
|
|
className={cn( |
|
|
|
className={cn( |
|
|
|
'flex w-full items-center rounded p-2 text-sm', |
|
|
|
'flex w-full items-start rounded p-2 text-left text-sm', |
|
|
|
counter === activeCounter ? 'bg-gray-100' : '', |
|
|
|
counter === activeCounter ? 'bg-gray-100' : '', |
|
|
|
)} |
|
|
|
)} |
|
|
|
onMouseOver={() => setActiveCounter(counter)} |
|
|
|
onMouseOver={() => setActiveCounter(counter)} |
|
|
@ -264,7 +264,7 @@ export function AITermSuggestionInput(props: AITermSuggestionInputProps) { |
|
|
|
> |
|
|
|
> |
|
|
|
<span |
|
|
|
<span |
|
|
|
className={cn( |
|
|
|
className={cn( |
|
|
|
'mr-2 rounded-full p-1 px-1.5 text-xs leading-none', |
|
|
|
'mr-2 whitespace-nowrap rounded-full p-1 px-1.5 text-xs leading-none', |
|
|
|
result.isOfficial |
|
|
|
result.isOfficial |
|
|
|
? 'bg-green-500 text-green-50' |
|
|
|
? 'bg-green-500 text-green-50' |
|
|
|
: 'bg-blue-400 text-blue-50', |
|
|
|
: 'bg-blue-400 text-blue-50', |
|
|
|