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:
parent
6e83bef2a0
commit
a6d31e9744
|
|
@ -66,7 +66,8 @@ export function FilterTabs<T extends string>({
|
||||||
<div
|
<div
|
||||||
role="group"
|
role="group"
|
||||||
className={cn(
|
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,
|
className,
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue