From 5c67f1e2e06ea53262a6f6e193ef570eb303f772 Mon Sep 17 00:00:00 2001 From: josh Date: Thu, 7 May 2026 21:31:35 -0400 Subject: [PATCH] Match custody view layout to inventory view pattern Use responsive clamped padding, full-width maxWidth, and even column proportions so the page fills available space consistently with other tabs. Co-Authored-By: Claude Opus 4.6 --- web/src/views/CustodyView.tsx | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/web/src/views/CustodyView.tsx b/web/src/views/CustodyView.tsx index d75d510..7d7aad0 100644 --- a/web/src/views/CustodyView.tsx +++ b/web/src/views/CustodyView.tsx @@ -5,6 +5,8 @@ import { remainingShort } from "../stats.js"; import { fmt, TYPE_GLYPHS } from "../format.js"; import { Btn, Card, Icon } from "../components/primitives/index.js"; +const GRID_COLS = "32px 2fr 1fr 1fr 1fr 280px"; + export function CustodyView({ data, onSelectItem, @@ -32,17 +34,23 @@ export function CustodyView({ ); return ( -
-
+
+
+
+ {checkedOut.length} item{checkedOut.length === 1 ? "" : "s"} checked out +

My Custody

-
- {checkedOut.length} item{checkedOut.length === 1 ? "" : "s"} checked out -
{checkedOut.length === 0 ? ( @@ -69,7 +77,7 @@ export function CustodyView({