feat: multi select chip bug

This commit is contained in:
Alex committed 2026-07-08 23:00:44 +01:00
1 parent c3de3e47de
commit 7f57e06531
1 file changed
+5 -1
+5 -1
View File
@@ -75,7 +75,11 @@ export function MultiSelect({
className,
)}
>
<div className="flex min-w-0 flex-wrap gap-1">
{/* flex-1 gives the chip row a definite width; without it, a lone
chip's percentage max-width resolves against its own natural
width and shaves 1rem off the label (a short ref like "A1"
disappears entirely). */}
<div className="flex min-w-0 flex-1 flex-wrap gap-1">
{selected.length === 0 ? (
placeholder
) : (