1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-26 10:34:40 +02:00

fix: text wrap in AI search roadmap (#5462)

This commit is contained in:
Arik Chakma
2024-04-04 00:20:38 +06:00
committed by GitHub
parent 60568caff7
commit 6e81855645

View File

@@ -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',