polish: unify search/filter control size with FAQ (h-14, text-lg, larger icon)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-12 10:23:25 +01:00
parent 3368213c0f
commit 6a49fbb9ca
3 changed files with 12 additions and 12 deletions

View File

@@ -60,7 +60,7 @@
<!-- Search -->
<div class="relative flex-1">
<span
class="icon-[ri--search-line] absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"
class="icon-[ri--search-line] absolute left-4 top-1/2 -translate-y-1/2 w-5 h-5 text-muted-foreground"
></span>
<Input
placeholder={$_("videos.search_placeholder")}
@@ -69,7 +69,7 @@
searchValue = (e.target as HTMLInputElement).value;
debounceSearch(searchValue);
}}
class="pl-10 bg-background/50 border-primary/20 focus:border-primary"
class="pl-12 h-14 text-lg bg-background/50 border-primary/20 focus:border-primary"
/>
</div>
@@ -80,9 +80,9 @@
onValueChange={(v) => v && setParam("duration", v)}
>
<SelectTrigger
class="w-full lg:w-48 bg-background/50 border-primary/20 focus:border-primary"
class="w-full lg:w-48 h-14 text-lg bg-background/50 border-primary/20 focus:border-primary"
>
<span class="icon-[ri--timer-2-line] w-4 h-4 mr-2"></span>
<span class="icon-[ri--timer-2-line] w-5 h-5 mr-2"></span>
{data.duration === "short"
? $_("videos.duration.short")
: data.duration === "medium"
@@ -102,7 +102,7 @@
<!-- Sort -->
<Select type="single" value={data.sort} onValueChange={(v) => v && setParam("sort", v)}>
<SelectTrigger
class="w-full lg:w-48 bg-background/50 border-primary/20 focus:border-primary"
class="w-full lg:w-48 h-14 text-lg bg-background/50 border-primary/20 focus:border-primary"
>
{data.sort === "most_liked"
? $_("videos.sort.most_liked")