Reverted to commit 496b06fe9e

This commit is contained in:
gpt-engineer-app[bot]
2025-09-30 21:22:38 +00:00
parent 815b83a7c0
commit d0fc334de0

View File

@@ -277,12 +277,12 @@ export function AutocompleteSearch({
<div className="flex-1 min-w-0"> <div className="flex-1 min-w-0">
<div className="flex flex-col gap-1"> <div className="flex flex-col gap-1">
<span className="font-semibold text-foreground text-sm sm:text-base line-clamp-1">{item.title}</span> <span className="font-semibold text-foreground text-sm sm:text-base line-clamp-1">{item.title}</span>
<div className="flex items-center gap-2 flex-wrap"> <div className="flex items-center gap-1.5 flex-wrap">
<Badge variant="outline" className={`text-[10px] sm:text-xs font-medium whitespace-nowrap flex-shrink-0 ${getTypeColor(item.type)}`}> <Badge variant="outline" className={`text-[10px] sm:text-xs font-medium whitespace-nowrap ${getTypeColor(item.type)}`}>
{getTypeLabel(item.type)} {getTypeLabel(item.type)}
</Badge> </Badge>
{item.subtitle && ( {item.subtitle && (
<Badge variant="secondary" className="text-[10px] sm:text-xs whitespace-nowrap flex-shrink-0"> <Badge variant="secondary" className="text-[10px] sm:text-xs whitespace-nowrap">
{item.subtitle} {item.subtitle}
</Badge> </Badge>
)} )}