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.
This commit is contained in:
Maurice
2026-11-15 15:08:26 +01:00
parent 439736e904
commit a58d0117c6
@@ -256,7 +256,11 @@ function Bringers({
faces.length > 0 ? (
<span className="-ms-2 inline-flex shrink-0">
<BringerAvatar bringer={faces[0]} />
{faces.length > 1 && <MoreBringers count={faces.length - 1} />}
{faces.length > 1 && (
<span className="ms-1.5 inline-flex">
<MoreBringers count={faces.length - 1} />
</span>
)}
</span>
) : 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}
</button>