Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
address review (self): hoist duplicated max-w wrapper
[._.]/ Adam Eivy269c4ed39ed8
diff --git a/client/src/components/creative-commission/RenderHistory.jsx b/client/src/components/creative-commission/RenderHistory.jsxindex 63501b2df5..f01f0638a6 100644--- a/client/src/components/creative-commission/RenderHistory.jsx+++ b/client/src/components/creative-commission/RenderHistory.jsx@@ -80,22 +80,20 @@ export default function RenderHistory({ runs, feedback, projectsById, projectsLoConstraining width instead lets aspect-ratio derive a height thatalready fits, matching previewMaxWidthClass's documented approachin lib/creativeDirectorPreview.js. */}- {project ? (- <div className="max-w-[220px] mx-auto">+ <div className="max-w-[220px] mx-auto">+ {project ? (<ProjectPreview project={project} to={`/creative-director/${encodeURIComponent(r.projectId)}`} />- </div>- ) : (- // `project` is null in this branch, so the placeholder falls back to- // the default 16:9 box. Distinguish the transient load window (project- // list still fetching) from a genuinely pruned/missing render — a real- // render must not flash "unavailable" before the fetch resolves.- <div className="max-w-[220px] mx-auto">+ ) : (+ // `project` is null in this branch, so the placeholder falls back to+ // the default 16:9 box. Distinguish the transient load window (project+ // list still fetching) from a genuinely pruned/missing render — a real+ // render must not flash "unavailable" before the fetch resolves.<div className={`${previewAspectClass()} bg-port-bg flex flex-col items-center justify-center gap-1 text-gray-600 text-xs`}><Film className="w-4 h-4 opacity-50" aria-hidden="true" /><span>{r.projectId ? (projectsLoading ? 'loading…' : 'render unavailable') : 'no render'}</span></div>- </div>- )}+ )}+ </div><div className="p-3 flex flex-col gap-2 flex-1"><div className="flex items-center justify-between gap-2 text-xs">