mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 13:31:14 -05:00
Remove icons from search results
This commit is contained in:
@@ -273,11 +273,10 @@ export function AutocompleteSearch({
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
<div className="flex items-center justify-center">{getResultIcon(item as SearchResult)}</div>
|
||||
<div className="flex-1 min-w-0">
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="font-medium truncate">{item.title}</span>
|
||||
<Badge variant="outline" className={`text-xs ${getTypeColor(item.type)}`}>
|
||||
<div className="flex items-center gap-2 mb-1">
|
||||
<span className="font-semibold text-foreground truncate">{item.title}</span>
|
||||
<Badge variant="outline" className={`text-xs font-medium ${getTypeColor(item.type)}`}>
|
||||
{getTypeLabel(item.type)}
|
||||
</Badge>
|
||||
</div>
|
||||
@@ -286,7 +285,7 @@ export function AutocompleteSearch({
|
||||
</div>
|
||||
</div>
|
||||
{(item as SearchResult).rating && (item as SearchResult).rating! > 0 && (
|
||||
<div className="flex items-center gap-1">
|
||||
<div className="flex items-center gap-1 ml-3">
|
||||
<Zap className="w-3 h-3 text-yellow-500" />
|
||||
<span className="text-sm font-medium">{(item as SearchResult).rating!.toFixed(1)}</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user