mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 17:11:12 -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-1 min-w-0">
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2 mb-1">
|
||||||
<span className="font-medium truncate">{item.title}</span>
|
<span className="font-semibold text-foreground truncate">{item.title}</span>
|
||||||
<Badge variant="outline" className={`text-xs ${getTypeColor(item.type)}`}>
|
<Badge variant="outline" className={`text-xs font-medium ${getTypeColor(item.type)}`}>
|
||||||
{getTypeLabel(item.type)}
|
{getTypeLabel(item.type)}
|
||||||
</Badge>
|
</Badge>
|
||||||
</div>
|
</div>
|
||||||
@@ -286,7 +285,7 @@ export function AutocompleteSearch({
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{(item as SearchResult).rating && (item as SearchResult).rating! > 0 && (
|
{(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" />
|
<Zap className="w-3 h-3 text-yellow-500" />
|
||||||
<span className="text-sm font-medium">{(item as SearchResult).rating!.toFixed(1)}</span>
|
<span className="text-sm font-medium">{(item as SearchResult).rating!.toFixed(1)}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user