Make filter input larger and more prominent
Bigger padding, larger icon, rounded-lg, ring on focus, text-sm instead of text-xs. Matches the search bar feel. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -144,18 +144,18 @@
|
|||||||
|
|
||||||
<!-- Filters row -->
|
<!-- Filters row -->
|
||||||
{#if !loading && results.length > 0}
|
{#if !loading && results.length > 0}
|
||||||
<div class="flex-shrink-0 border-b border-surface-border px-6 py-2 space-y-2">
|
<div class="flex-shrink-0 border-b border-surface-border px-6 py-3 space-y-2.5">
|
||||||
<div class="flex items-center gap-3">
|
<div class="flex items-center gap-3">
|
||||||
<div class="relative flex-1">
|
<div class="relative flex-1">
|
||||||
<svg class="absolute left-2.5 top-1/2 -translate-y-1/2 w-3 h-3 text-text-tertiary"
|
<svg class="absolute left-3.5 top-1/2 -translate-y-1/2 w-4 h-4 text-text-tertiary"
|
||||||
fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
|
fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
|
||||||
<path stroke-linecap="round" stroke-linejoin="round" d="M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 01-.659 1.591l-5.432 5.432a2.25 2.25 0 00-.659 1.591v2.927a2.25 2.25 0 01-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 00-.659-1.591L3.659 7.409A2.25 2.25 0 013 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0112 3z" />
|
<path stroke-linecap="round" stroke-linejoin="round" d="M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 01-.659 1.591l-5.432 5.432a2.25 2.25 0 00-.659 1.591v2.927a2.25 2.25 0 01-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 00-.659-1.591L3.659 7.409A2.25 2.25 0 013 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0112 3z" />
|
||||||
</svg>
|
</svg>
|
||||||
<input type="text" bind:value={filterText} placeholder="Filter results..."
|
<input type="text" bind:value={filterText} placeholder="Filter results..."
|
||||||
class="w-full pl-8 pr-3 py-1 bg-surface border border-surface-border rounded text-xs
|
class="w-full pl-10 pr-4 py-2.5 bg-surface-raised border border-surface-border rounded-lg text-sm
|
||||||
text-text-primary placeholder-text-tertiary focus:border-accent/50 focus:outline-none transition-colors" />
|
text-text-primary placeholder-text-tertiary focus:border-accent/50 focus:ring-1 focus:ring-accent/20 focus:outline-none transition-all" />
|
||||||
</div>
|
</div>
|
||||||
<span class="text-2xs text-text-tertiary whitespace-nowrap">
|
<span class="text-xs text-text-tertiary whitespace-nowrap">
|
||||||
{filteredAndSorted().length} of {results.length}
|
{filteredAndSorted().length} of {results.length}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user