FilterTabs: wrap options instead of clipping them on narrow screens

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ilya Mukhortov 2026-10-26 17:33:07 +10:00
parent 6e83bef2a0
commit a6d31e9744
1 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,8 @@ export function FilterTabs<T extends string>({
<div
role="group"
className={cn(
"scrollbar-none flex w-fit max-w-full shrink-0 items-center gap-1 overflow-x-auto overflow-y-hidden rounded-xl bg-muted/70 p-1",
// Не влезают в строку — переносятся внутри той же подложки, а не обрезаются.
"flex w-fit max-w-full flex-wrap items-center gap-1 rounded-xl bg-muted/70 p-1",
className,
)}
>