From a58d0117c66b90b65c4194dbea24c74ef8d8d7a4 Mon Sep 17 00:00:00 2001 From: Maurice Date: Sun, 15 Nov 2026 15:08:26 +0100 Subject: [PATCH] fix(packing): a lighter visibility switch and bringers side by side in the item window The picked visibility is a raised light segment on the grey track, like the other pills in the window, instead of a black block, and the +N of further bringers sits beside the first picture rather than over its initial. --- client/src/components/Packing/PackingItemDetail.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/client/src/components/Packing/PackingItemDetail.tsx b/client/src/components/Packing/PackingItemDetail.tsx index b1dacd6f8..65fdb8a2e 100644 --- a/client/src/components/Packing/PackingItemDetail.tsx +++ b/client/src/components/Packing/PackingItemDetail.tsx @@ -256,7 +256,11 @@ function Bringers({ faces.length > 0 ? ( - {faces.length > 1 && } + {faces.length > 1 && ( + + + + )} ) : undefined; return ( @@ -331,7 +335,7 @@ function Visibility({ key={o.id} aria-checked={shown === o.id} onClick={() => choose(o.id)} - className={`h-6 cursor-pointer whitespace-nowrap rounded-full border-0 px-2.5 font-[inherit] text-caption font-semibold ${shown === o.id ? 'bg-content text-surface' : 'bg-transparent text-content-muted'}`} + className={`h-6 cursor-pointer whitespace-nowrap rounded-full border-0 px-3 font-[inherit] text-caption font-semibold transition-colors ${shown === o.id ? 'bg-surface-card text-content shadow-sm' : 'bg-transparent text-content-muted hover:text-content'}`} > {o.label}