fix: make all public page FilterPills scrollable on mobile, add vertical padding

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-12 17:07:12 +01:00
parent d7e7abf48d
commit 74b361d454
4 changed files with 5 additions and 1 deletions

View File

@@ -24,7 +24,7 @@
<div
class={cn(
"flex gap-2",
scrollable ? "flex-nowrap overflow-x-auto pb-0.5 scrollbar-none" : "flex-wrap",
scrollable ? "flex-nowrap overflow-x-auto py-1 scrollbar-none" : "flex-wrap py-1",
className,
)}
>

View File

@@ -95,6 +95,7 @@
<!-- Sort -->
<FilterPills
scrollable
value={data.sort ?? "recent"}
options={[
{ value: "recent", label: $_("magazine.sort.recent") },

View File

@@ -72,6 +72,7 @@
<!-- Sort -->
<FilterPills
scrollable
value={data.sort ?? "name"}
options={[
{ value: "name", label: $_("models.sort.name") },

View File

@@ -75,6 +75,7 @@
<!-- Duration -->
<FilterPills
scrollable
value={data.duration ?? "all"}
options={[
{ value: "all", label: $_("videos.duration.all") },
@@ -87,6 +88,7 @@
<!-- Sort -->
<FilterPills
scrollable
value={data.sort ?? "recent"}
options={[
{ value: "recent", label: $_("videos.sort.recent") },