From 7f57e06531ab2d5816ef7543e63a285559fe9354 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 8 Jul 2026 23:00:44 +0100 Subject: [PATCH] feat: multi select chip bug --- frontend/src/components/ui/multi-select.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/ui/multi-select.tsx b/frontend/src/components/ui/multi-select.tsx index 58a58cd3..826c658d 100644 --- a/frontend/src/components/ui/multi-select.tsx +++ b/frontend/src/components/ui/multi-select.tsx @@ -75,7 +75,11 @@ export function MultiSelect({ className, )} > -
+ {/* 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). */} +
{selected.length === 0 ? ( placeholder ) : (