Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

fix(packing): a lighter visibility switch and bringers side by side in the item window

Mauricea58d0117c66b
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 ? (
<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>